Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼9.95ms] Passed 4 tests
Server-side resources used by Purify WordPress Menus
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.04 ▲0.63 |
Dashboard /wp-admin | 3.56 ▲0.21 | 51.96 ▼11.20 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.33 ▲8.68 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 83.37 ▼25.42 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 36.23 ▼3.79 |
Purify WordPress Menus /wp-admin/options-general.php?page=hinjipwpm | 3.45 | 36.75 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
purify_wp_menu_options_set |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Purify WordPress Menus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 14.26 ▼0.08 | 2.04 ▲0.17 | 43.23 ▼0.45 |
Dashboard /wp-admin | 2,202 ▲25 | 5.65 ▲0.12 | 92.92 ▼2.08 | 43.58 ▼0.39 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▼0.05 | 36.08 ▼2.92 | 34.86 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.10 ▲4.83 | 677.46 ▲13.37 | 61.03 ▼4.17 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.20 ▲0.11 | 103.36 ▼10.46 | 45.65 ▼3.02 |
Purify WordPress Menus /wp-admin/options-general.php?page=hinjipwpm | 1,159 | 2.01 | 24.82 | 33.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/purify-wp-menues/admin/partials/hinjipwpm-admin-display.php:18
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Tags: There are too many tags (16 tag instead of maximum 10)
purify-wp-menues/purify_wp_menues.php 85% from 13 tests
The main file in "Purify WordPress Menus" v. 3.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("purify-wp-menues.php" instead of "purify_wp_menues.php")
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 detected1,431 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 231 | 795 | 819 |
PO File | 2 | 130 | 185 | 601 |
CSS | 1 | 1 | 2 | 11 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 39 | 88.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.36% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin