90% tinymce-advanced-language-pack

Code Review | TinyMCE Advanced Language Pack

WordPress plugin TinyMCE Advanced Language Pack scored 90% from 54 tests.

About plugin

  • Plugin page: tinymce-advanced-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-3.7
  • WordPress version: 6.3.1
  • First release: Oct 23, 2013
  • Latest release: Oct 25, 2013
  • Number of updates: 5
  • Update frequency: every 0.4 days
  • Top authors: azaozz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

900+ active / 15,195 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.19ms] Passed 4 tests

This is a short check of server-side resources used by TinyMCE Advanced Language Pack
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0033.98 ▼6.86
Dashboard /wp-admin3.31 ▲0.0045.47 ▼1.85
Posts /wp-admin/edit.php3.36 ▲0.0046.54 ▲0.51
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.96 ▼7.41
Media Library /wp-admin/upload.php3.23 ▲0.0036.10 ▼0.65

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 227 new files
Database: no new tables, 8 new options
New WordPress options
ossm_speed_score
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts
ossm_da_pa

Browser metrics Passed 4 tests

A check of browser resources used by TinyMCE Advanced Language Pack
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.28 ▼1.001.68 ▼0.3040.44 ▼0.92
Dashboard /wp-admin2,203 ▲155.82 ▲0.9095.34 ▼7.5342.08 ▲1.66
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0134.27 ▼0.4331.90 ▼0.52
Add New Post /wp-admin/post-new.php1,530 ▲223.49 ▲5.45692.92 ▲61.5953.35 ▼12.95
Media Library /wp-admin/upload.php1,388 ▼04.12 ▼0.12106.38 ▼4.2948.78 ▼2.11

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 detected upon uninstall: 8 options
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • ossm_speed_score
    • widget_theysaidso_widget
    • db_upgraded
    • ossm_da_pa

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: editor, wysiwyg, tinymce, write

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

Analyzing the main PHP file in "TinyMCE Advanced Language Pack" version 1.0
86 characters long description:
Adds more translations for the TinyMCE components used in the TinyMCE Advanced plugin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected214 lines of code in 212 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript21000210
PHP24154

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code1.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin