90% tinymce-advanced

Code Review | Advanced Editor Tools

WordPress plugin Advanced Editor Tools scored90%from 54 tests.

About plugin

  • Plugin page: tinymce-advanced
  • Plugin version: 5.9.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.3
  • WordPress version: 6.3.1
  • First release: Jun 22, 2007
  • Latest release: Aug 14, 2023
  • Number of updates: 285
  • Update frequency: every 20.7 days
  • Top authors: azaozz (100%)

Code review

54 tests

User reviews

335 reviews

Install metrics

2,000,000+ active /33,255,025 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼8.63ms] Passed 4 tests

An overview of server-side resources used by Advanced Editor Tools
No issues were detected with server-side resource usage
Page Memory (MB) CPU Time (ms)
Home / 3.51 ▲0.04 37.99 ▲3.30
Dashboard /wp-admin 3.35 ▲0.01 45.26 ▼14.84
Posts /wp-admin/edit.php 3.47 ▲0.11 43.40 ▼2.40
Add New Post /wp-admin/post-new.php 5.89 ▲0.00 89.24 ▼20.32
Media Library /wp-admin/upload.php 3.28 ▲0.05 34.99 ▲3.03
Advanced Editor Tools /wp-admin/options-general.php?page=tinymce-advanced 3.52 33.41

Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 9 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
tadv_settings
tadv_version
tadv_admin_settings
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Advanced Editor Tools
This plugin renders optimally with no browser resource issues detected
Page Nodes Memory (MB) Script (ms) Layout (ms)
Home / 2,818 ▲72 13.15 ▼1.12 4.64 ▲3.05 44.65 ▼0.11
Dashboard /wp-admin 2,199 ▲34 5.61 ▲0.07 87.22 ▼1.04 37.33 ▼7.42
Posts /wp-admin/edit.php 2,104 ▲4 2.03 ▲0.05 39.99 ▲3.67 35.76 ▲0.59
Add New Post /wp-admin/post-new.php 6,382 ▲4,856 27.80 ▲4.58 884.40 ▲286.75 43.50 ▼0.50
Media Library /wp-admin/upload.php 1,407 ▲7 4.28 ▲0.10 99.90 ▼3.65 41.78 ▼2.14
Advanced Editor Tools /wp-admin/options-general.php?page=tinymce-advanced 3,010 2.43 45.12 51.21

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: tinymce, editor, write, classic editor, gutenberg...

tinymce-advanced/tinymce-advanced.php Passed 13 tests

"Advanced Editor Tools" version 5.9.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
83 characters long description:
Extends and enhances the block editor (Gutenberg) and the classic editor (TinyMCE).

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin14,883 lines of code in 40 files:
Language Files Blank lines Comment lines Lines of code
JavaScript 32 460 21 12,386
PHP 3 339 83 1,541
CSS 5 194 12 956

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code 0.47
Average class complexity 204.00
▷ Minimum class complexity 204.00
▷ Maximum class complexity 204.00
Average method complexity 5.61
▷ Minimum method complexity 1.00
▷ Maximum method complexity 24.00
Code structure
Namespaces 0
Interfaces 0
Traits 0
Classes 1
▷ Abstract classes 0 0.00%
▷ Concrete classes 1 100.00%
▷ Final classes 0 0.00%
Methods 44
▷ Static methods 0 0.00%
▷ Public methods 26 59.09%
▷ Protected methods 0 0.00%
▷ Private methods 18 40.91%
Functions 0
▷ Named functions 0 0.00%
▷ Anonymous functions 0 0.00%
Constants 1
▷ Global constants 1 100.00%
▷ Class constants 0 0.00%
▷ Public constants 0 0.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin