Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.89MB] [CPU: ▲9.57ms] Passed 4 tests
This is a short check of server-side resources used by Maintenance Mode by Supsystic
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.36 ▲1.90 | 54.95 ▲17.10 |
Dashboard /wp-admin | 5.19 ▲1.89 | 59.79 ▲15.34 |
Posts /wp-admin/edit.php | 5.30 ▲1.95 | 60.98 ▲14.03 |
Add New Post /wp-admin/post-new.php | 7.77 ▲1.89 | 100.43 ▼8.20 |
Media Library /wp-admin/upload.php | 5.11 ▲1.89 | 53.88 ▲21.48 |
Maintenance Mode by Supsystic /wp-admin/admin.php?page=coming-soon-supsystic | 5.37 | 45.62 |
Overview /wp-admin/admin.php?page=coming-soon-supsystic&tab=overview | 5.25 | 45.42 |
Server storage [IO: ▲3.98MB] [DB: ▲0.04MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 453 new files
Database: 7 new tables, 9 new options
New tables |
---|
wp_scs_modules_type |
wp_scs_usage_stat |
wp_scs_octo |
wp_scs_subscribers |
wp_scs_modules |
wp_scs_octo_blocks_categories |
wp_scs_octo_blocks |
New WordPress options |
---|
wp_scs_db_version |
scs_plugin_activation_errors |
widget_theysaidso_widget |
wp_scs_db_installed |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Maintenance Mode by Supsystic: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲81 | 13.23 ▼1.15 | 1.99 ▼0.06 | 41.56 ▲0.49 |
Dashboard /wp-admin | 2,237 ▲49 | 5.87 ▼0.10 | 108.02 ▲7.95 | 43.01 ▼1.74 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▲0.01 | 38.68 ▲5.95 | 33.98 ▲2.08 |
Add New Post /wp-admin/post-new.php | 1,555 ▲17 | 23.09 ▼0.11 | 655.86 ▼6.41 | 55.01 ▼5.38 |
Media Library /wp-admin/upload.php | 1,419 ▲37 | 4.20 ▼0.09 | 94.39 ▼7.32 | 40.24 ▼2.67 |
Maintenance Mode by Supsystic /wp-admin/admin.php?page=coming-soon-supsystic | 1,635 | 2.87 | 78.24 | 80.88 |
Overview /wp-admin/admin.php?page=coming-soon-supsystic&tab=overview | 2,623 | 23.06 | 532.32 | 74.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_scs_octo_blocks_categories
- wp_scs_octo
- wp_scs_subscribers
- wp_scs_octo_blocks
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- scs_plugin_activation_errors
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/coming-soon-by-supsystic/modules/supsystic_promo/views/tpl/adminFooter.php
- 209× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression' not found in wp-content/plugins/coming-soon-by-supsystic/classes/Twig/Node/Expression/Array.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Twig_CompilerInterface' not found in wp-content/plugins/coming-soon-by-supsystic/classes/Twig/Compiler.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Test' not found in wp-content/plugins/coming-soon-by-supsystic/classes/Twig/Node/Expression/Test/Constant.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Test' not found in wp-content/plugins/coming-soon-by-supsystic/classes/Twig/Node/Expression/Test/Even.php:21
- > PHP Fatal error
Uncaught Error: Class 'modelScs' not found in wp-content/plugins/coming-soon-by-supsystic/modules/options/models/options.php:2
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Binary' not found in wp-content/plugins/coming-soon-by-supsystic/classes/Twig/Node/Expression/Binary/Div.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/coming-soon-by-supsystic/modules/octo/views/tpl/octoCommonFooter.php:6
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression' not found in wp-content/plugins/coming-soon-by-supsystic/classes/Twig/Node/Expression/Constant.php:12
- > PHP Fatal error
Uncaught Error: Class 'modelScs' not found in wp-content/plugins/coming-soon-by-supsystic/modules/octo/models/octo_blocks.php:2
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression' not found in wp-content/plugins/coming-soon-by-supsystic/classes/Twig/Node/Expression/Unary.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #5 in coming-soon-by-supsystic/assets to your readme.txt
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
coming-soon-by-supsystic/scs.php 85% from 13 tests
The primary PHP file in "Maintenance Mode by Supsystic" version 1.7.13 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("coming-soon-by-supsystic.php" instead of "scs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected44,707 lines of code in 350 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 257 | 2,200 | 6,446 | 19,422 |
JavaScript | 48 | 1,930 | 1,814 | 16,184 |
CSS | 37 | 266 | 488 | 5,702 |
PO File | 5 | 1,139 | 1,617 | 3,272 |
SVG | 2 | 0 | 0 | 125 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 12.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 192.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 19 | |
Traits | 0 | |
Classes | 214 | |
▷ Abstract classes | 19 | 8.88% |
▷ Concrete classes | 195 | 91.12% |
▷ Final classes | 0 | 0.00% |
Methods | 1,533 | |
▷ Static methods | 243 | 15.85% |
▷ Public methods | 1,349 | 88.00% |
▷ Protected methods | 147 | 9.59% |
▷ Private methods | 37 | 2.41% |
Functions | 78 | |
▷ Named functions | 78 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 115 | |
▷ Global constants | 65 | 56.52% |
▷ Class constants | 50 | 43.48% |
▷ Public constants | 50 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
68 PNG files occupy 0.42MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/prettyphoto/images/prettyPhoto/dark_square/sprite.png | 3.42KB | 2.13KB | ▼ 37.67% |
modules/octo/css/images/minimal.png | 2.65KB | 1.21KB | ▼ 54.19% |
css/images/minimal.png | 2.23KB | 1.44KB | ▼ 35.45% |
js/jquery.context-menu/images/page_white_paste.png | 0.61KB | 0.67KB | 0.00% |
js/prettyphoto/images/prettyPhoto/light_rounded/btnNext.png | 1.38KB | 1.14KB | ▼ 17.29% |