83% tinymce-editor-font-fix

Code Review | TinyMce editor Font FIX

WordPress plugin TinyMce editor Font FIX scored 83% from 54 tests.

About plugin

  • Plugin page: tinymce-editor-fo...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4.1
  • WordPress version: 6.3.1
  • First release: Jul 30, 2012
  • Latest release: Jul 31, 2012
  • Number of updates: 10
  • Update frequency: every 0.1 days
  • Top authors: svipic (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active / 14,220 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.52ms] Passed 4 tests

A check of server-side resources used by TinyMce editor Font FIX
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.07 ▲3.37
Dashboard /wp-admin3.31 ▲0.0149.03 ▼0.74
Posts /wp-admin/edit.php3.36 ▲0.0147.28 ▼0.70
Add New Post /wp-admin/post-new.php5.89 ▲0.0183.27 ▼20.38
Media Library /wp-admin/upload.php3.24 ▲0.0134.91 ▼0.24

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for TinyMce editor Font FIX
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲5813.41 ▼1.341.78 ▼0.0736.67 ▼6.27
Dashboard /wp-admin2,212 ▲234.90 ▼0.0195.80 ▼17.1568.01 ▲24.21
Posts /wp-admin/edit.php2,095 ▲62.02 ▼0.0337.92 ▼2.2131.76 ▼4.02
Add New Post /wp-admin/post-new.php6,526 ▲4,99227.58 ▲4.35967.12 ▲349.0765.74 ▲7.23
Media Library /wp-admin/upload.php1,391 ▼04.24 ▲0.0195.06 ▼2.5379.00 ▲36.34

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tinymce-editor-font-fix/webist-tinymce.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
The official readme.txt might help

tinymce-editor-font-fix/webist-tinymce.php 85% from 13 tests

The entry point to "TinyMce editor Font FIX" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 589 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tinymce-editor-font-fix.php" instead of "webist-tinymce.php")

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
No dangerous file extensions were detected25 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP110919
CSS1006

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin