Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.91ms] Passed 4 tests
Server-side resources used by BNS Corner Logo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.33 ▼1.50 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.94 ▼5.18 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.33 ▼0.56 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 96.07 ▼4.41 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.94 ▲6.01 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_bns-corner-logo |
Browser metrics Passed 4 tests
Checking browser requirements for BNS Corner Logo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲196 | 13.61 ▼0.80 | 8.64 ▲6.79 | 41.30 ▼2.67 |
Dashboard /wp-admin | 2,254 ▲62 | 4.84 ▼1.05 | 110.11 ▲4.54 | 42.39 ▼1.86 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.09 | 39.27 ▼3.52 | 36.17 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,528 ▲7 | 18.48 ▼4.54 | 635.55 ▼11.85 | 62.14 ▲13.00 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.18 ▼0.09 | 93.27 ▼7.63 | 41.85 ▲0.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_bns-corner-logo
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bns-corner-logo/bns-corner-logo.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 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
6 plugin tags: multiple widgets, multisite compatible, gravatar, image, widget-only...
bns-corner-logo/bns-corner-logo.php 92% from 13 tests
The primary PHP file in "BNS Corner Logo" version 2.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 144 characters long)
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 plugin440 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 138 | 334 | 296 |
PO File | 1 | 34 | 37 | 96 |
CSS | 1 | 9 | 45 | 45 |
JavaScript | 1 | 1 | 28 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin