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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.98ms] Passed 4 tests
This is a short check of server-side resources used by NNM Coming Soon Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.98 ▼4.67 |
Dashboard /wp-admin | 3.43 ▲0.13 | 44.40 ▼5.72 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.41 ▲1.13 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.15 ▼18.67 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.28 ▲2.37 |
Coming Soon Setup /wp-admin/options-general.php?page=nnmcs-coming-soon | 3.35 | 33.95 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NNM Coming Soon Page
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.74 ▲0.39 | 1.57 ▼0.24 | 38.16 ▼10.31 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.05 | 94.45 ▼6.28 | 41.84 ▼3.73 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 2.02 ▲0.02 | 36.56 ▼8.27 | 36.10 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.17 ▲0.09 | 651.87 ▼21.04 | 53.09 ▼0.02 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.19 ▼0.00 | 97.19 ▼6.63 | 40.86 ▼1.32 |
Coming Soon Setup /wp-admin/options-general.php?page=nnmcs-coming-soon | 1,691 | 4.69 | 111.13 | 81.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/coming-soon-page-splashpage-max/nnm-coming-soon.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'NNM_Coming_Soon_Layout' not found in wp-content/plugins/coming-soon-page-splashpage-max/coming-soon-page-template.php:1
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
coming-soon-page-splashpage-max/nnm-coming-soon.php 85% from 13 tests
"NNM Coming Soon Page" version 0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("coming-soon-page-splashpage-max.php" instead of "nnm-coming-soon.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected948 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 52 | 19 | 628 |
CSS | 2 | 39 | 0 | 224 |
JavaScript | 2 | 14 | 1 | 96 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 96.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.23% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin