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
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0437.99 ▲3.30
Dashboard /wp-admin3.35 ▲0.0145.26 ▼14.84
Posts /wp-admin/edit.php3.47 ▲0.1143.40 ▼2.40
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.24 ▼20.32
Media Library /wp-admin/upload.php3.28 ▲0.0534.99 ▲3.03
Advanced Editor Tools /wp-admin/options-general.php?page=tinymce-advanced3.5233.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲7213.15 ▼1.124.64 ▲3.0544.65 ▼0.11
Dashboard /wp-admin2,199 ▲345.61 ▲0.0787.22 ▼1.0437.33 ▼7.42
Posts /wp-admin/edit.php2,104 ▲42.03 ▲0.0539.99 ▲3.6735.76 ▲0.59
Add New Post /wp-admin/post-new.php6,382 ▲4,85627.80 ▲4.58884.40 ▲286.7543.50 ▼0.50
Media Library /wp-admin/upload.php1,407 ▲74.28 ▲0.1099.90 ▼3.6541.78 ▼2.14
Advanced Editor Tools /wp-admin/options-general.php?page=tinymce-advanced3,0102.4345.1251.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:
LanguageFilesBlank linesComment linesLines of code
JavaScript324602112,386
PHP3339831,541
CSS519412956

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 code0.47
Average class complexity204.00
▷ Minimum class complexity204.00
▷ Maximum class complexity204.00
Average method complexity5.61
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods44
▷ Static methods00.00%
▷ Public methods2659.09%
▷ Protected methods00.00%
▷ Private methods1840.91%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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