Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.71MB] [CPU: ▼1.52ms] Passed 4 tests
This is a short check of server-side resources used by Monwoo Web Agency Config
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 41.46 ▲6.99 |
Dashboard /wp-admin | 4.03 ▲0.69 | 46.77 ▼11.82 |
Posts /wp-admin/edit.php | 4.08 ▲0.73 | 47.73 ▲1.74 |
Add New Post /wp-admin/post-new.php | 6.79 ▲0.90 | 94.05 ▼2.39 |
Media Library /wp-admin/upload.php | 3.96 ▲0.73 | 39.52 ▲6.39 |
Missions /wp-admin/edit.php?post_type=wa-mission | 4.01 | 38.97 |
Settings /wp-admin/admin.php?page=wa-e-config-param-page | 3.95 | 33.80 |
Quality review /wp-admin/admin.php?page=wa-e-review-page | 4.12 | 263.48 |
Documentation /wp-admin/admin.php?page=wa-e-config-doc-page | 3.95 | 35.03 |
Skills /wp-admin/edit-tags.php?post_type=wa-mission&taxonomy=wa-skill | 4.01 | 59.05 |
Server storage [IO: ▲17.28MB] [DB: ▲0.10MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 253 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wa-skill_children |
theysaidso_admin_options |
can_compress_scripts |
wa_e_review_settings_form_key |
widget_recent-comments |
db_upgraded |
wa_e_review_data_store |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Monwoo Web Agency Config
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 14.29 ▼0.08 | 1.67 ▲0.01 | 39.06 ▲2.37 |
Dashboard /wp-admin | 2,251 ▲77 | 5.58 ▼0.09 | 84.55 ▼7.21 | 83.03 ▲39.79 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.04 ▲0.05 | 34.97 ▼0.08 | 34.46 ▲3.65 |
Add New Post /wp-admin/post-new.php | 1,721 ▲192 | 22.45 ▼0.60 | 649.98 ▼30.33 | 67.01 ▲13.86 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.22 ▼0.01 | 97.17 ▼2.68 | 81.41 ▲36.91 |
Missions /wp-admin/edit.php?post_type=wa-mission | 1,230 | 1.94 | 34.48 | 28.98 |
Settings /wp-admin/admin.php?page=wa-e-config-param-page | 1,160 | 2.08 | 26.96 | 31.44 |
Quality review /wp-admin/admin.php?page=wa-e-review-page | 2,362 | 2.30 | 28.98 | 54.13 |
Documentation /wp-admin/admin.php?page=wa-e-config-doc-page | 11,639 | 11.15 | 445.32 | 132.92 |
Skills /wp-admin/edit-tags.php?post_type=wa-mission&taxonomy=wa-skill | 2,364 | 2.16 | 28.25 | 36.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- theysaidso_admin_options
- wa_e_review_settings_form_key
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- wa-skill_children
- wa_e_review_data_store
- widget_recent-posts
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: 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/monwoo-web-agency-config/assets/backup-bootstrap/test-wa-config/test-secu.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/monwoo-web-agency-config/head-proxy.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/monwoo-web-agency-config/templates/themes/oceanwp/singular-wa-mission.php:11
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-filesystem-base.php): failed to open stream: No such file or directory in wp-content/plugins/monwoo-web-agency-config/App.php on line 46
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-filesystem-base.php' (include_path='.:/usr/share/php') in wp-content/plugins/monwoo-web-agency-config/App.php on line 46
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/monwoo-web-agency-config/App.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/monwoo-web-agency-config/templates/themes/oceanwp/index-wa-mission.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WA\\Config\\Templates\\Themes\\TwentyTwenty\\date_i18n() in wp-content/plugins/monwoo-web-agency-config/templates/themes/twentytwenty/footer.php:33
- > PHP Fatal error
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
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 ([Editor] add mission.), #2 ([Editor] add skill.), #3 ([Editor] review panel.), #4 ([Editor] Solve a custom review.), #5 ([Admin] review panel.), #6 ([Admin] ensure custom footer.), #7 ([Admin] WooCommerce order prefix.), #8 ([Admin] Backup all reviews.), #9 ([Admin] Backup before tests launch.), #10 ([Admin] Pre-check end to end test with codeception.), #11 ([Admin] Launch end to end test with codeception.), #12 ([Admin] Block internal requests and debugs), #13 ([WebMaster] Rollback db with phpmyadmin), #14 ([WebMaster] Rollback db with phpmyadmin - specific auth rollback), #15 ([Developer] Deploy a custom static frontend head (tools/wa-deploy.js or ftp)), #16 ([Developer] Publish a static head as a hybrid headless frontend)
monwoo-web-agency-config/wa-config.php 85% from 13 tests
The principal PHP file in "Monwoo Web Agency Config" v. 0.0.3 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("monwoo-web-agency-config.php" instead of "wa-config.php")
- Description: Keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin101,518 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 17,650 | 360 | 88,094 |
PHP | 9 | 164 | 2,502 | 8,231 |
CSS | 3 | 344 | 53 | 2,814 |
PO File | 3 | 671 | 794 | 1,771 |
HTML | 3 | 51 | 16 | 355 |
SVG | 47 | 0 | 48 | 233 |
YAML | 1 | 2 | 5 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 195.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 24 | |
Classes | 11 | |
▷ Abstract classes | 2 | 18.18% |
▷ Concrete classes | 9 | 81.82% |
▷ Final classes | 0 | 0.00% |
Methods | 236 | |
▷ Static methods | 16 | 6.78% |
▷ Public methods | 162 | 68.64% |
▷ Protected methods | 72 | 30.51% |
▷ Private methods | 2 | 0.85% |
Functions | 93 | |
▷ Named functions | 7 | 7.53% |
▷ Anonymous functions | 86 | 92.47% |
Constants | 19 | |
▷ Global constants | 6 | 31.58% |
▷ Class constants | 13 | 68.42% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.47MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/LogoMonwoo-100x100.png | 17.79KB | 3.74KB | ▼ 78.96% |
assets/backup-bootstrap/test-wa-config/LogoWebAgencyApp-21x21.png | 13.77KB | 1.40KB | ▼ 89.82% |
assets/icon-128x128.png | 36.85KB | 6.16KB | ▼ 83.29% |
assets/banner-1544x500.png | 91.00KB | 30.09KB | ▼ 66.93% |
assets/LogoWAConfig-21x21.png | 17.32KB | 1.17KB | ▼ 93.23% |