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 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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.03 ▼5.62 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.27 ▼12.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.63 ▲1.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.04 ▼2.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.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 |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Chief Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.27 ▼0.12 | 1.49 ▼0.32 | 37.27 ▲0.14 |
Dashboard /wp-admin | 2,195 ▲14 | 5.78 ▲0.11 | 93.30 ▼7.89 | 44.09 ▲3.44 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.03 ▲0.05 | 40.53 ▲4.43 | 36.23 ▲4.20 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 22.91 ▼0.11 | 593.96 ▼64.75 | 58.26 ▲3.92 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.19 ▲0.00 | 100.17 ▼2.42 | 41.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
- > PHP Fatal error
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
Optimizations
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 ===
)
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 76 | 3,647 | 1,830 | 24,815 |
PHP | 98 | 2,235 | 6,336 | 9,806 |
CSS | 9 | 63 | 39 | 1,720 |
Sass | 11 | 238 | 46 | 1,372 |
Markdown | 2 | 731 | 0 | 735 |
PO File | 2 | 141 | 148 | 363 |
Maven | 1 | 30 | 21 | 305 |
XML | 5 | 17 | 72 | 247 |
JSON | 6 | 0 | 0 | 239 |
TypeScript | 1 | 131 | 635 | 174 |
Ant | 1 | 19 | 30 | 140 |
DTD | 1 | 25 | 54 | 69 |
Python | 2 | 5 | 15 | 37 |
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 code | 0.27 |
Average class complexity | 13.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 245.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 90 | |
▷ Abstract classes | 6 | 6.67% |
▷ Concrete classes | 84 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 663 | |
▷ Static methods | 120 | 18.10% |
▷ Public methods | 587 | 88.54% |
▷ Protected methods | 23 | 3.47% |
▷ Private methods | 53 | 7.99% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 65 | |
▷ Global constants | 19 | 29.23% |
▷ Class constants | 46 | 70.77% |
▷ Public constants | 46 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/DataTables/DataTables-1.10.16/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
admin/images/in-progress.png | 1.09KB | 1.11KB | 0.00% |
libs/DataTables/DataTables-1.10.16/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
libs/DataTables/DataTables-1.10.16/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
admin/images/assigned.png | 1.62KB | 1.39KB | ▼ 13.87% |