Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼299.44ms] Passed 4 tests
This is a short check of server-side resources used by ACF Hider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 63.11 ▲7.01 |
Dashboard /wp-admin | 3.41 ▲0.01 | 52.66 ▼10.52 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 43.40 ▲2.94 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.08 | 98.15 ▼1,197.17 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 45.22 ▲14.50 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF Hider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,771 ▲27 | 15.59 ▼0.46 | 6.33 ▼0.02 | 2.59 ▲0.32 |
Dashboard /wp-admin | 2,878 ▲17 | 6.07 ▼0.09 | 117.56 ▼21.24 | 153.72 ▼10.99 |
Posts /wp-admin/edit.php | 2,693 ▼0 | 3.35 ▲0.11 | 69.89 ▲2.56 | 173.80 ▲30.03 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 21.24 ▲4.49 | 451.51 ▲59.92 | 161.26 ▼6.39 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▲0.01 | 140.23 ▼0.79 | 186.99 ▲3.22 |
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 Passed 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 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: hide, hider, acf, advanced custom fields, admin menu
acf-hider/acf-hider.php Passed 13 tests
The primary PHP file in "ACF Hider" version 1.0 is used by WordPress to initiate all plugin functionality
58 characters long description:
Hide Advanced Custom Fields from the WordPress admin menu.
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
Success! There were no dangerous files found in this plugin24 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 13 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin