Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼156.65ms] Passed 4 tests
A check of server-side resources used by Launchpad - Coming Soon & Maintenance Mode Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.26 | 34.76 ▲14.13 |
Dashboard /wp-admin | 3.25 ▲0.20 | 48.45 ▼2.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.25 | 43.73 ▼1.64 |
Add New Post /wp-admin/post-new.php | 5.61 ▲0.18 | 93.92 ▼623.58 |
Media Library /wp-admin/upload.php | 3.19 ▲0.19 | 36.16 ▲0.97 |
Server storage [IO: ▲2.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 108 new files
Database: no new tables, 2 new options
New WordPress options |
---|
apollo_display_options |
apollo_order_options |
Browser metrics Passed 4 tests
A check of browser resources used by Launchpad - Coming Soon & Maintenance Mode Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲127 | 16.30 ▲0.69 | 9.74 ▼4.10 | 46.05 ▲0.05 |
Dashboard /wp-admin | 2,990 ▲53 | 6.02 ▲0.06 | 143.31 ▼7.92 | 98.98 ▼19.19 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.71 ▼0.01 | 70.80 ▲2.73 | 89.81 ▼19.07 |
Add New Post /wp-admin/post-new.php | 1,696 ▲81 | 18.43 ▼3.00 | 381.32 ▲76.10 | 113.11 ▲4.86 |
Media Library /wp-admin/upload.php | 1,827 ▲17 | 5.01 ▼0.03 | 150.81 ▲0.57 | 122.75 ▲7.23 |
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 does not fully uninstall, leaving 2 options in the database
- apollo_order_options
- apollo_display_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/launchpad-by-obox/themes/apollo/social-links.php
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
opendir(LAUNCHPADDIRfunctions/): failed to open dir: No such file or directory in wp-content/plugins/launchpad-by-obox/functions/load-includes.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_directory() in wp-content/plugins/launchpad-by-obox/themes/apollo/archive.php:1
- > PHP Warning
Use of undefined constant LAUNCHPADDIR - assumed 'LAUNCHPADDIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/launchpad-by-obox/functions/load-includes.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_footer() in wp-content/plugins/launchpad-by-obox/themes/apollo/footer.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function current_time() in wp-content/plugins/launchpad-by-obox/themes/apollo/count-down-timer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_directory() in wp-content/plugins/launchpad-by-obox/themes/apollo/archive-product.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/launchpad-by-obox/themes/apollo/count-down-timer.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/launchpad-by-obox/themes/apollo/header.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/launchpad-by-obox/themes/apollo/welcome.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/launchpad-by-obox/themes/apollo/welcome.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Launchpad Activated), #2 (General Settings), #3 (Control the look and feel)
launchpad-by-obox/index.php 85% from 13 tests
The principal PHP file in "Launchpad - Coming Soon & Maintenance Mode Plugin" v. 1.0.13 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 145 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("launchpad-by-obox.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin3,691 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 233 | 311 | 1,918 |
PHP | 16 | 159 | 44 | 1,079 |
CSS | 13 | 154 | 286 | 694 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
40 compressed PNG files occupy 0.50MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ios-style-checkboxes/on.png | 2.44KB | 2.48KB | 0.00% |
themes/apollo/images/facebook_32.png | 0.87KB | 0.71KB | ▼ 17.68% |
css/images/ui-bg_glass_100_f8f8f8_1x400.png | 0.10KB | 0.11KB | 0.00% |
css/images/iphone-style-checkboxes/slider_left.png | 0.32KB | 0.44KB | 0.00% |
css/images/ios-style-checkboxes/slider_center.png | 0.25KB | 0.35KB | 0.00% |