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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼139.34ms] Passed 4 tests
This is a short check of server-side resources used by Remove Protected
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.24 ▲8.41 |
Dashboard /wp-admin | 3.07 ▲0.01 | 46.53 ▼0.02 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.43 ▼1.29 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 93.29 ▼558.35 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 33.45 ▲2.29 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove Protected
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,702 ▲106 | 16.07 ▲0.50 | 8.59 ▲0.60 | 49.84 ▼4.07 |
Dashboard /wp-admin | 2,967 ▲36 | 5.89 ▼0.03 | 149.18 ▼4.85 | 120.47 ▼6.20 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.00 | 69.39 ▼0.19 | 100.94 ▲15.00 |
Add New Post /wp-admin/post-new.php | 1,683 ▲102 | 18.73 ▼1.96 | 393.58 ▼1.47 | 115.43 ▲4.94 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 4.99 ▲0.01 | 164.25 ▲2.09 | 125.39 ▼4.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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
4 plugin tags: remove, title, protected, password
remove-protected/remove-protected.php Passed 13 tests
This is the main PHP file of "Remove Protected" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
103 characters long description:
This small plugin will remove "Protected: " from your title names on pages that are password protected.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin26 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 13 | 49 | 23 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
A short review of 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.33 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin