84% jimmy-editor

Code Review | Jimmy Editor

WordPress plugin Jimmy Editor scored 84% from 54 tests.

About plugin

  • Plugin page: jimmy-editor
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.9
  • WordPress version: 6.3.1
  • First release: Apr 17, 2017
  • Latest release: Apr 26, 2018
  • Number of updates: 15
  • Update frequency: every 25.2 days
  • Top authors: kenjmk7r9merchant (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 713 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Server-side resources used by Jimmy Editor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.35 ▼3.99
Dashboard /wp-admin3.31 ▲0.0145.74 ▼4.65
Posts /wp-admin/edit.php3.36 ▲0.0144.76 ▼6.40
Add New Post /wp-admin/post-new.php5.91 ▲0.0383.43 ▼14.67
Media Library /wp-admin/upload.php3.23 ▲0.0136.37 ▲2.57

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Jimmy Editor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,910 ▲15315.59 ▲1.301.75 ▼0.1937.94 ▼4.90
Dashboard /wp-admin2,313 ▲1216.10 ▲1.16116.88 ▲10.5344.23 ▼2.21
Posts /wp-admin/edit.php2,095 ▲62.07 ▲0.0635.31 ▼4.2129.52 ▼5.23
Add New Post /wp-admin/post-new.php1,520 ▼1717.77 ▼5.22675.57 ▲37.1662.40 ▲13.23
Media Library /wp-admin/upload.php1,394 ▲64.23 ▼0.0296.12 ▼5.6342.64 ▼1.36

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jimmy-editor/jimmy-editor.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: admin, editor, customize, administrator, plugin...

jimmy-editor/jimmy-editor.php 92% from 13 tests

Analyzing the main PHP file in "Jimmy Editor" version 1.0.4
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,613 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript41671091,586
CSS12514
PHP231913

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin