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.19MB] [CPU: ▲1.50ms] Passed 4 tests
A check of server-side resources used by Catch Under Construction
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 43.11 ▲2.09 |
Dashboard /wp-admin | 3.49 ▲0.19 | 53.69 ▲3.95 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 56.07 ▲4.89 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 91.93 ▼4.92 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 42.07 ▲5.30 |
Server storage [IO: ▲1.79MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Catch Under Construction
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲145 | 13.36 ▼0.89 | 8.48 ▲6.38 | 38.42 ▼5.11 |
Dashboard /wp-admin | 2,217 ▲37 | 5.64 ▲0.00 | 92.96 ▼7.62 | 39.64 ▼5.45 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.01 ▼0.01 | 40.19 ▲2.98 | 35.87 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.08 ▼0.42 | 692.90 ▼9.83 | 49.55 ▼6.34 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.16 ▲0.02 | 102.59 ▼8.04 | 47.32 ▼1.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/catch-under-construction/public/partials/catch-under-construction-public-display.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-under-construction/admin/partials/social.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/catch-under-construction/includes/CatchThemesThemePlugin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-under-construction/admin/partials/sidebar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/catch-under-construction/catch-under-construction.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/catch-under-construction/includes/ctp-tabs-removal.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-under-construction/admin/partials/catch-under-construction-admin-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function catch_under_construction_get_options() in wp-content/plugins/catch-under-construction/public/partials/construction-display.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/catch-under-construction/admin/partials/footer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-under-construction/admin/partials/dashboard.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/catch-under-construction/admin/partials/contact.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in catch-under-construction/assets to your readme.txt
catch-under-construction/catch-under-construction.php 92% from 13 tests
The entry point to "Catch Under Construction" version 1.4.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,657 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 319 | 657 | 1,521 |
CSS | 4 | 189 | 32 | 987 |
JavaScript | 4 | 30 | 41 | 149 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 13.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 36 | 87.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.20% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/free-plugin-246x116.png | 8.01KB | 3.81KB | ▼ 52.42% |
public/partials/images/logo.png | 2.94KB | 2.22KB | ▼ 24.51% |
admin/images/premium-plugin-246x116.png | 9.01KB | 4.16KB | ▼ 53.83% |