Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/coming-soon-tmc/lib/App.php+86
Undefined index: factory_reset
Server metrics [RAM: ▲2.09MB] [CPU: ▲0.39ms] Passed 4 tests
This is a short check of server-side resources used by Coming Soon TMC
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.11 ▲1.65 | 49.11 ▲8.32 |
Dashboard /wp-admin | 5.55 ▲2.20 | 61.31 ▼3.71 |
Posts /wp-admin/edit.php | 5.66 ▲2.31 | 59.26 ▲9.50 |
Add New Post /wp-admin/post-new.php | 8.15 ▲2.26 | 98.53 ▼12.57 |
Media Library /wp-admin/upload.php | 5.47 ▲2.24 | 56.49 ▲18.95 |
Coming Soon TMC /wp-admin/options-general.php?page=cs_tmc_options | 8.40 | 61.47 |
Server storage [IO: ▲2.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 265 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cs_tmc_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Coming Soon TMC
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 14.37 ▼0.19 | 1.93 ▲0.16 | 40.68 ▲1.43 |
Dashboard /wp-admin | 2,206 ▲29 | 5.70 ▲0.07 | 95.86 ▲6.01 | 71.58 ▲26.09 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.02 ▲0.01 | 37.21 ▲3.06 | 35.91 ▲1.56 |
Add New Post /wp-admin/post-new.php | 1,712 ▲167 | 24.50 ▲1.59 | 707.27 ▲39.60 | 65.31 ▲11.17 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.20 ▼0.01 | 100.97 ▼6.58 | 77.57 ▲27.54 |
Coming Soon TMC /wp-admin/options-general.php?page=cs_tmc_options | 954 | 2.38 | 36.72 | 38.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- cs_tmc_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/coming-soon-tmc/coming-soon-tmc.php
- 206× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/_common/_abstract/_controller/AdminPageFramework_Resource_Base.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_FieldType' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/_common/form/field_type/AdminPageFramework_FieldType_radio.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/admin_page/_view/AdminPageFramework_View__Resource.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_Form_View___Script_Base' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_RepeatableSection.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/admin_page/_model/AdminPageFramework_ExportOptions.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc\\lib\\Templates\\Classes\\Template' not found in wp-content/plugins/coming-soon-tmc/lib/Templates/Simple_Template.php:9
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/admin_page/_model/AdminPageFramework_FormEmail.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_Factory_Model___Meta_Base' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/term_meta/_model/AdminPageFramework_TermMeta_Model___TermMeta.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_Factory' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/user_meta/AdminPageFramework_UserMeta.php:7
- > PHP Fatal error
Uncaught Error: Class 'cs_tmc_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/coming-soon-tmc/lib/External/admin-page-framework/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_CollapsibleSection.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #7 (Admin panel (Settings / Lock button and Templates)), #8 (Admin panel / Customizer (Customize template view)), #9 (Admin panel / Social Media tab), #10 (Admin panel / Newsletter), #11 (Admin panel / Settings)
coming-soon-tmc/coming-soon-tmc.php 85% from 13 tests
The main PHP file in "Coming Soon TMC" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin19,658 lines of code in 243 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 235 | 1,981 | 2,443 | 19,450 |
Sass | 6 | 88 | 18 | 204 |
JavaScript | 1 | 2 | 0 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 344 | |
▷ Abstract classes | 93 | 27.03% |
▷ Concrete classes | 251 | 72.97% |
▷ Final classes | 2 | 0.80% |
Methods | 1,818 | |
▷ Static methods | 242 | 13.31% |
▷ Public methods | 1,062 | 58.42% |
▷ Protected methods | 267 | 14.69% |
▷ Private methods | 489 | 26.90% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.13MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/Templates/Screenshots/placeholder-300x200.png | 6.24KB | 1.06KB | ▼ 82.96% |
(invalid) lib/Templates/Screenshots/caffee_coming-soon-tmc.png | 20.73KB | 0.00KB | ▼ 100.00% |
lib/Templates/Screenshots/basicv2_coming-soon-tmc.png | 13.18KB | 5.37KB | ▼ 59.28% |
lib/Templates/Screenshots/basic_coming-soon-tmc.png | 32.78KB | 6.29KB | ▼ 80.80% |
lib/Templates/Assets/caffee/CAFFEE-LOGO-coming-soon-tmc.png | 7.29KB | 4.88KB | ▼ 33.07% |