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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.83ms] Passed 4 tests
An overview of server-side resources used by Hidden WP Admin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.03 ▲2.48 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.88 ▼12.53 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.41 ▼2.93 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.02 | 80.98 ▼17.17 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 33.42 ▲1.32 |
Hidden WP Admin /wp-admin/options-general.php?page=hidden-wp-admin | 3.24 | 30.22 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hidden WP Admin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.35 ▲0.15 | 1.76 ▼0.09 | 44.12 ▲2.88 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▼0.02 | 95.00 ▲7.57 | 43.30 ▲3.27 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▲0.02 | 34.82 ▼5.60 | 32.47 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.48 ▲0.27 | 645.78 ▼18.59 | 53.52 ▼6.58 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.21 ▼0.08 | 95.54 ▼2.36 | 44.36 ▲0.37 |
Hidden WP Admin /wp-admin/options-general.php?page=hidden-wp-admin | 874 | 2.01 | 25.22 | 29.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/hidden-wp-admin/hidden-wp-admin.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/hidden-wp-admin/includes/settings.php:4
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: wp-admin, multisite, admin, login, lockdown...
hidden-wp-admin/hidden-wp-admin.php Passed 13 tests
This is the main PHP file of "Hidden WP Admin" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
70 characters long description:
Hide WP admin, login and signup from all users except those you allow.
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 detected233 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 54 | 63 | 228 |
Markdown | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 11 | |
▷ Static methods | 11 | 100.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin