Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼138.39ms] Passed 4 tests
Analyzing server-side resources used by Hide Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 34.24 ▼1.96 |
Dashboard /wp-admin | 3.07 ▲0.01 | 49.04 ▲6.33 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 43.85 ▼0.70 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 98.23 ▼544.13 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 34.24 ▼6.77 |
Hide Manager /wp-admin/options-general.php?page=hide-manager | 2.98 | 28.53 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Hide Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.79 ▲0.33 | 9.29 ▲1.20 | 52.97 ▲0.22 |
Dashboard /wp-admin | 2,975 ▲44 | 5.88 ▼0.04 | 134.06 ▼2.52 | 108.55 ▼2.05 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▼0.00 | 65.90 ▼4.46 | 86.20 ▼9.82 |
Add New Post /wp-admin/post-new.php | 1,675 ▼197 | 18.88 ▼0.33 | 373.20 ▲2.11 | 108.04 ▼7.45 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.01 | 159.06 ▼3.33 | 120.35 ▼5.60 |
Hide Manager /wp-admin/options-general.php?page=hide-manager | 1,210 | 2.14 | 57.49 | 81.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/hide-manager/hide-manager.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Select option from where to Hide Page Title.), #2 (Select option from where to Hide Post Title.), #3 (Select option from where to Hide Featured Image.), #4 (Select option from where to Hide Comment from Post.), #5 (Select option from where to Hide Comment from Pages.)
- License uri: Invalid URI ("")
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
hide-manager/hide-manager.php Passed 13 tests
The main PHP script in "Hide Manager" version 1.0.0 is automatically included on every request by WordPress
123 characters long description:
This plugin provides an easy way to Hide Comment from Pages & Posts, Hide Featured Image and Hide Title from Posts & Pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin398 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 25 | 54 | 398 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 90.00 |
▷ Minimum class complexity | 90.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 12.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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 | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin