Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼262.71ms] Passed 4 tests
A check of server-side resources used by Under Construction / Maintenance Mode from Acurax
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.99 ▲0.27 | 35.73 ▲15.86 |
Dashboard /wp-admin | 3.33 ▲0.28 | 47.24 ▲10.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.27 | 50.22 ▲6.65 |
Add New Post /wp-admin/post-new.php | 5.60 ▲0.18 | 93.45 ▼1,064.52 |
Media Library /wp-admin/upload.php | 3.18 ▲0.18 | 37.50 ▼3.14 |
View All Subscribers /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Subscribers | 3.25 | 38.22 |
Maintenance Mode /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Settings | 5.04 | 68.49 |
Add-ons /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Add-ons | 3.23 | 40.86 |
Misc /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Misc | 3.24 | 48.83 |
Expert Support /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Expert-Support | 3.25 | 40.67 |
Display Variables /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Variables | 3.20 | 35.81 |
Help /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Help | 3.20 | 33.73 |
Server storage [IO: ▲9.67MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 122 new files
Database: no new tables, 16 new options
New WordPress options |
---|
acx_csma_custom_html_val |
acx_csmap_open_all_boxes_default |
acx_csma_version |
acx_csma_favicon |
acx_csma_start_date_time |
acx_csma_ip_list |
acx_csma_activation_status |
acx_csma_appearence_array |
acx_csma_auto_launch |
acx_csma_meta_description |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Under Construction / Maintenance Mode from Acurax
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,949 ▲344 | 17.49 ▲2.00 | 8.82 ▼0.98 | 48.23 ▼1.95 |
Dashboard /wp-admin | 3,224 ▲374 | 7.97 ▲2.15 | 155.61 ▲25.09 | 114.75 ▲19.61 |
Posts /wp-admin/edit.php | 3,029 ▲323 | 4.27 ▲1.59 | 79.16 ▲11.29 | 121.97 ▲31.89 |
Add New Post /wp-admin/post-new.php | 1,724 ▲68 | 18.56 ▲0.27 | 346.72 ▼62.36 | 132.56 ▲8.37 |
Media Library /wp-admin/upload.php | 1,863 ▲91 | 4.77 ▼0.21 | 118.07 ▼47.55 | 137.16 ▲18.09 |
View All Subscribers /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Subscribers | 1,485 | 3.84 | 69.75 | 79.89 |
Maintenance Mode /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Settings | 9,241 | 5.09 | 181.26 | 94.83 |
Add-ons /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Add-ons | 1,541 | 3.72 | 69.43 | 91.24 |
Misc /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Misc | 2,274 | 7.70 | 160.62 | 76.04 |
Expert Support /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Expert-Support | 1,579 | 3.59 | 72.19 | 87.97 |
Display Variables /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Variables | 1,746 | 3.76 | 67.85 | 78.93 |
Help /wp-admin/admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Help | 1,325 | 3.61 | 67.94 | 88.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 16 options
- acx_csma_activation_status
- acx_csma_display_var_arr
- acx_csma_template
- acx_csma_version
- acx_csma_ip_list
- acx_csma_meta_title
- acx_csmap_open_all_boxes_default
- acx_csma_auto_launch
- acx_csma_meta_keywords
- acx_csma_custom_html_val
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/templates/0/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/templates/5/index.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/includes/acx-csma-licence-activation.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/includes/hook_functions.php:82
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/includes/acx_csma_help.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/templates/2/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/includes/updates.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/includes/defaults.php:410
- > PHP Fatal error
Uncaught Error: Call to undefined function acx_csma_hook_function() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/includes/acx_csma_admin.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/coming-soon-maintenance-mode-from-acurax/includes/acx_csma_subscribers.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: work in progress, maintenance mode, under construction, launching page, site offline...
coming-soon-maintenance-mode-from-acurax/acx_csma.php 92% from 13 tests
The primary PHP file in "Under Construction / Maintenance Mode from Acurax" version 2.6 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("coming-soon-maintenance-mode-from-acurax.php" instead of "acx_csma.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected25,292 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 1,088 | 1,659 | 12,902 |
CSS | 12 | 217 | 97 | 5,412 |
SVG | 3 | 0 | 0 | 4,838 |
JavaScript | 3 | 247 | 34 | 2,140 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 43.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 5 | 4.42% |
▷ Public methods | 90 | 79.65% |
▷ Protected methods | 23 | 20.35% |
▷ Private methods | 0 | 0.00% |
Functions | 136 | |
▷ Named functions | 136 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size 0% from 1 test
Image compression 0% from 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
57 PNG files occupy 0.81MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/quick.png | 1.93KB | 1.63KB | ▼ 15.33% |
templates/2/images/facebook.png | 2.88KB | 0.29KB | ▼ 90.05% |
images/favicon.png | 0.65KB | 0.98KB | 0.00% |
templates/4/images/close.png | 0.35KB | 0.23KB | ▼ 35.38% |
images/addon_ua_demo.png | 34.96KB | 20.07KB | ▼ 42.58% |