Benchmarks
Plugin footprint Passed 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.46MB] [CPU: ▼301.30ms] Passed 4 tests
An overview of server-side resources used by Adminimize
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.58 | 64.67 ▲7.89 |
Dashboard /wp-admin | 3.85 ▲0.44 | 41.53 ▲7.90 |
Posts /wp-admin/edit.php | 4.06 ▲0.42 | 45.47 ▲9.00 |
Add New Post /wp-admin/post-new.php | 7.36 ▲0.39 | 104.95 ▼1,229.36 |
Media Library /wp-admin/upload.php | 3.92 ▲0.62 | 30.95 ▲8.39 |
Adminimize /wp-admin/options-general.php?page=adminimize-options | 3.89 | 45.24 |
Server storage [IO: ▲0.35MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: no new tables, 1 new option
New WordPress options |
---|
mw_adminimize |
Browser metrics Passed 4 tests
A check of browser resources used by Adminimize
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲46 | 16.24 ▲0.61 | 5.57 ▼0.45 | 2.59 ▲0.32 |
Dashboard /wp-admin | 2,897 ▲39 | 6.15 ▼0.01 | 118.96 ▼17.42 | 155.63 ▼7.67 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.24 ▼0.00 | 66.55 ▲2.38 | 153.85 ▲8.69 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 16.93 ▲0.78 | 408.09 ▲2.93 | 149.93 ▼6.04 |
Media Library /wp-admin/upload.php | 1,700 ▼1 | 5.52 ▼0.04 | 142.70 ▼7.28 | 183.59 ▼15.99 |
Adminimize /wp-admin/options-general.php?page=adminimize-options | 12,274 | 3.84 | 84.21 | 331.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 32× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/adminimize/inc-options/theme_options.php
- > /wp-content/plugins/adminimize/inc-setup/admin-footer.php
- > /wp-content/plugins/adminimize/inc-options/global_options.php
- > /wp-content/plugins/adminimize/inc-options/write_cp_options.php
- > /wp-content/plugins/adminimize/inc-setup/export.php
- > /wp-content/plugins/adminimize/adminimize_page.php
- > /wp-content/plugins/adminimize/inc-options/im_export_options.php
- > /wp-content/plugins/adminimize/inc-setup/dashboard.php
- > /wp-content/plugins/adminimize/inc-setup/widget.php
- > /wp-content/plugins/adminimize/inc-setup/remove-admin-notices.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 22 tag instead of maximum 10
adminimize/adminimize.php 85% from 13 tests
Analyzing the main PHP file in "Adminimize" version 1.11.7
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 371 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected5,719 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 874 | 938 | 5,506 |
CSS | 7 | 23 | 8 | 110 |
JavaScript | 11 | 19 | 24 | 103 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 80 | |
▷ Named functions | 77 | 96.25% |
▷ Anonymous functions | 3 | 3.75% |
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
No PNG images were found in this plugin