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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.48ms] Passed 4 tests
A check of server-side resources used by Corner Bracket Lover
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.09 ▼3.29 |
Dashboard /wp-admin | 3.32 ▼0.02 | 51.73 ▼15.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.36 ▲0.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.72 ▼12.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.98 ▲1.35 |
Corner Bracket Lover /wp-admin/options-general.php?page=corner-bracket-lover | 3.21 | 36.37 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
cbl_options |
widget_recent-posts |
can_compress_scripts |
sparanoid_plugin_error |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Corner Bracket Lover: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.23 ▼1.36 | 1.79 ▼0.04 | 44.04 ▼1.39 |
Dashboard /wp-admin | 2,225 ▲22 | 5.84 ▲0.87 | 117.45 ▲6.00 | 44.09 ▼1.31 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 39.35 ▲3.48 | 33.89 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,557 ▲26 | 23.07 ▼0.15 | 662.08 ▼27.55 | 66.96 ▲12.87 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▼0.02 | 97.85 ▼5.48 | 45.80 ▼0.38 |
Corner Bracket Lover /wp-admin/options-general.php?page=corner-bracket-lover | 911 | 2.05 | 22.66 | 27.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- sparanoid_plugin_error
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/corner-bracket-lover/corner-bracket-lover.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
corner-bracket-lover/corner-bracket-lover.php Passed 13 tests
Analyzing the main PHP file in "Corner Bracket Lover" version 1.2.10
101 characters long description:
Corner Bracket Lover converts all curly quotation marks in your posts to traditional corner brackets.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin251 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 50 | 179 |
PO File | 1 | 26 | 61 | 72 |
PHP code Passed 2 tests
A brief analysis 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.43 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.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 were not PNG files found in your plugin