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: ▲2.30MB] [CPU: ▲4.86ms] Passed 4 tests
Server-side resources used by AMAUCP | Coming Soon Page / Maintenance Mode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.42 ▲1.96 | 51.94 ▲10.02 |
Dashboard /wp-admin | 5.77 ▲2.43 | 57.66 ▼3.01 |
Posts /wp-admin/edit.php | 5.82 ▲2.47 | 50.83 ▲6.78 |
Add New Post /wp-admin/post-new.php | 8.29 ▲2.41 | 95.75 ▲5.63 |
Media Library /wp-admin/upload.php | 5.63 ▲2.41 | 53.21 ▲20.66 |
Social /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_social | 9.54 | 73.81 |
UCP Optons /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_irsethemes | 9.38 | 73.43 |
Settings /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_settings | 9.70 | 79.39 |
All Subscribers /wp-admin/edit.php?post_type=amaucp_subscriber | 5.68 | 49.55 |
Subscribe /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_subscribe | 9.43 | 71.24 |
Reset /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_reset | 9.32 | 68.00 |
Server storage [IO: ▲3.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 309 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for AMAUCP | Coming Soon Page / Maintenance Mode
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲119 | 14.78 ▲0.41 | 1.87 ▼0.08 | 41.70 ▼2.19 |
Dashboard /wp-admin | 2,262 ▲73 | 5.87 ▲0.97 | 108.80 ▼10.71 | 41.72 ▼0.37 |
Posts /wp-admin/edit.php | 2,145 ▲59 | 2.01 ▼0.01 | 34.08 ▼1.20 | 34.05 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,574 ▲55 | 23.07 ▼0.05 | 674.85 ▲7.33 | 61.50 ▲5.92 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 4.22 ▲0.00 | 109.00 ▲11.08 | 48.88 ▲3.58 |
Social /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_social | 1,434 | 4.51 | 75.41 | 84.83 |
UCP Optons /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_irsethemes | 1,451 | 3.80 | 58.25 | 49.09 |
Settings /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_settings | 2,469 | 4.77 | 76.71 | 119.81 |
All Subscribers /wp-admin/edit.php?post_type=amaucp_subscriber | 1,106 | 1.99 | 29.56 | 28.73 |
Subscribe /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_subscribe | 1,373 | 4.40 | 52.30 | 44.20 |
Reset /wp-admin/edit.php?post_type=amaucp_subscriber&page=amaucp_reset | 1,201 | 4.24 | 51.47 | 31.09 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 225× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework' not found in wp-content/plugins/amaucp-coming-soon-page/admin/class-amaucp-feature-team.php:5
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework' not found in wp-content/plugins/amaucp-coming-soon-page/admin/class-amaucp-about.php:5
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/amaucp-coming-soon-page/library/apf/factory/_common/form/_view/sectionset/format/AdminPageFramework_Form_View___Format_SectionsetsByTab.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function amaucp_style_enqueue() in wp-content/plugins/amaucp-coming-soon-page/themes/default/functions.php:4
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/amaucp-coming-soon-page/library/apf/factory/_common/form/_view/resource/AdminPageFramework_Form_View__Resource.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function amaucp_style_enqueue() in wp-content/plugins/amaucp-coming-soon-page/themes/nano-complete/functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function amaucp_head() in wp-content/plugins/amaucp-coming-soon-page/themes/coming-soon/index.php:7
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_HelpPane_Base' not found in wp-content/plugins/amaucp-coming-soon-page/library/apf/factory/term_meta/_controller/AdminPageFramework_HelpPane_term_meta.php:7
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_Factory' not found in wp-content/plugins/amaucp-coming-soon-page/library/apf/factory/taxonomy_field/AdminPageFramework_TaxonomyField.php:7
- > PHP Fatal error
Uncaught Error: Class 'AdminPageFramework_Property_post_meta_box' not found in wp-content/plugins/amaucp-coming-soon-page/library/apf/factory/user_meta/_model/AdminPageFramework_Property_user_meta.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: under construction page, coming soon page, maintenance mode, coming soon
amaucp-coming-soon-page/amaucp.php 85% from 13 tests
The principal PHP file in "AMAUCP | Coming Soon Page / Maintenance Mode" v. 1.0.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("amaucp-coming-soon-page.php" instead of "amaucp.php")
- Description: Keep the plugin description shorter than 140 characters (currently 246 characters long)
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
There were no executable files found in this plugin47,083 lines of code in 274 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 2,615 | 473 | 18,924 |
PHP | 245 | 1,055 | 1,798 | 18,404 |
CSS | 13 | 199 | 218 | 7,084 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 337 | |
▷ Abstract classes | 93 | 27.60% |
▷ Concrete classes | 244 | 72.40% |
▷ Final classes | 2 | 0.82% |
Methods | 1,738 | |
▷ Static methods | 243 | 13.98% |
▷ Public methods | 983 | 56.56% |
▷ Protected methods | 275 | 15.82% |
▷ Private methods | 480 | 27.62% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 1 | 7.69% |
▷ Class constants | 12 | 92.31% |
▷ Public constants | 12 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
26 PNG files occupy 0.76MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |
themes/quotes/images/frame_background.png | 2.91KB | 0.20KB | ▼ 93.28% |
themes/quotes/screenshot.png | 72.59KB | 23.37KB | ▼ 67.80% |
themes/default/images/placeholder-team.png | 0.96KB | 0.92KB | ▼ 4.77% |
themes/xdefault/screenshot.png | 40.45KB | 13.91KB | ▼ 65.61% |