78% chief-editor

Code Review | Chief Editor

WordPress plugin Chief Editor scored78%from 54 tests.

About plugin

  • Plugin page: chief-editor
  • Plugin version: 5.4.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.9
  • WordPress version: 6.3.1
  • First release: Dec 17, 2013
  • Latest release: Jan 29, 2020
  • Number of updates: 207
  • Update frequency: every 10.8 days
  • Top authors: munger41 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /2,900 total downloads


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 gracefully, with no errors

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

Server-side resources used by Chief Editor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0033.03 ▼5.62
Dashboard /wp-admin3.31 ▼0.0443.27 ▼12.60
Posts /wp-admin/edit.php3.36 ▲0.0045.63 ▲1.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.04 ▼2.83
Media Library /wp-admin/upload.php3.23 ▲0.0032.02 ▼2.62

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 243 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Chief Editor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲1814.27 ▼0.121.49 ▼0.3237.27 ▲0.14
Dashboard /wp-admin2,195 ▲145.78 ▲0.1193.30 ▼7.8944.09 ▲3.44
Posts /wp-admin/edit.php2,100 ▼32.03 ▲0.0540.53 ▲4.4336.23 ▲4.20
Add New Post /wp-admin/post-new.php1,536 ▲822.91 ▼0.11593.96 ▼64.7558.26 ▲3.92
Media Library /wp-admin/upload.php1,397 ▼04.19 ▲0.00100.17 ▼2.4241.23 ▼6.97

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/chief-editor/libs/vendor/apache/log4php/package.php
  • 60× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerAppender' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/appenders/LoggerAppenderConsole.php:38
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerFilter' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/filters/LoggerFilterStringMatch.php:48
    • > PHP Fatal error
      Uncaught Error: Interface 'LoggerRenderer' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/renderers/LoggerRendererDefault.php:30
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerAppenderFile' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/appenders/LoggerAppenderDailyFile.php:43
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerPatternConverter' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/pattern/LoggerPatternConverterSuperglobal.php:39
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerPatternConverterSuperglobal' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/pattern/LoggerPatternConverterRequest.php:33
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerPatternConverter' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/pattern/LoggerPatternConverterLogger.php:32
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerPatternConverterSuperglobal' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/pattern/LoggerPatternConverterCookie.php:33
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerAppender' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/appenders/LoggerAppenderEcho.php:35
    • > PHP Fatal error
      Uncaught Error: Class 'LoggerConfigurable' not found in wp-content/plugins/chief-editor/libs/vendor/apache/log4php/src/main/php/LoggerLayout.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Plugin Name: You should set the name of your plugin on the first line ( === chief-editor === )
The official readme.txt might help

chief-editor/chief-editor.php Passed 13 tests

This is the main PHP file of "Chief Editor" version 5.4.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
85 characters long description:
Manage all posts, comments and authors accross the network. The Chief Editor toolbox.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin40,022 lines of code in 215 files:
LanguageFilesBlank linesComment linesLines of code
PO File2141148363

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity13.34
▷ Minimum class complexity1.00
▷ Maximum class complexity245.00
Average method complexity2.74
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
▷ Abstract classes66.67%
▷ Concrete classes8493.33%
▷ Final classes00.00%
▷ Static methods12018.10%
▷ Public methods58788.54%
▷ Protected methods233.47%
▷ Private methods537.99%
▷ Named functions10100.00%
▷ Anonymous functions00.00%
▷ Global constants1929.23%
▷ Class constants4670.77%
▷ Public constants46100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
11 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/assigned.png1.62KB1.39KB▼ 13.87%