Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼322.49ms] Passed 4 tests
Server-side resources used by ZacWP Plugins Extended: Hide, Order & Sort
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 55.96 ▲0.97 |
Dashboard /wp-admin | 3.49 ▲0.08 | 39.12 ▼1.61 |
Posts /wp-admin/edit.php | 3.71 ▲0.08 | 42.45 ▲4.00 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 107.87 ▼1,286.64 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 29.71 ▼2.69 |
ZacWP Plugin Setting /wp-admin/options-general.php?page=zacwp_po_settings | 3.34 | 28.31 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
zacwp_po_plugins_log |
Browser metrics Passed 4 tests
Checking browser requirements for ZacWP Plugins Extended: Hide, Order & Sort
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 15.90 ▲0.13 | 5.79 ▼0.97 | 3.07 ▲0.11 |
Dashboard /wp-admin | 2,897 ▲43 | 5.99 ▼0.15 | 115.67 ▼30.31 | 174.92 ▼18.26 |
Posts /wp-admin/edit.php | 2,696 ▲8 | 3.23 ▲0.00 | 66.09 ▼0.38 | 170.28 ▲16.07 |
Add New Post /wp-admin/post-new.php | 1,755 ▲92 | 21.59 ▲0.67 | 486.16 ▲28.78 | 219.16 ▲49.38 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.56 ▲0.09 | 163.67 ▲13.80 | 217.74 ▲20.54 |
ZacWP Plugin Setting /wp-admin/options-general.php?page=zacwp_po_settings | 1,192 | 2.43 | 56.93 | 194.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: plugin order, plugins hide, plugin info, plugins, plugins sort...
zacwp-hide-plugin/index.php 92% from 13 tests
This is the main PHP file of "ZacWP Plugins Extended: Hide, Order & Sort" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zacwp-hide-plugin.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin326 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 65 | 309 |
CSS | 1 | 4 | 0 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin