Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.77MB] [CPU: ▲2.97ms] Passed 4 tests
An overview of server-side resources used by Bogo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.64 | 49.61 ▲7.25 |
Dashboard /wp-admin | 4.15 ▲0.85 | 52.38 ▲1.72 |
Posts /wp-admin/edit.php | 4.23 ▲0.87 | 55.03 ▲2.70 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 109.71 ▲0.21 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 44.52 ▲8.61 |
Server storage [IO: ▲0.18MB] [DB: ▲0.01MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/bogo/" and "wp-content/uploads/"
- (new file) wp-content/languages/bogo/.empty
Filesystem: 40 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_bogo_language_switcher |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
bogo |
Browser metrics Passed 4 tests
A check of browser resources used by Bogo
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲87 | 13.71 ▼1.04 | 1.76 ▼0.15 | 42.24 ▼4.97 |
Dashboard /wp-admin | 2,240 ▲49 | 4.85 ▼0.09 | 96.83 ▼6.81 | 40.19 ▼2.70 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.11 ▲0.09 | 36.09 ▼4.36 | 34.30 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,683 ▲141 | 18.50 ▲0.51 | 601.04 ▼7.27 | 33.45 ▼16.08 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.36 ▲0.13 | 97.39 ▼3.35 | 43.80 ▼0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- theysaidso_admin_options
- bogo
- widget_bogo_language_switcher
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 31× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bogo/includes/user.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bogo/admin/includes/terms-translation.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bogo/includes/nav-menu.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bogo/admin/includes/nav-menu.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bogo/admin/includes/user.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bogo/admin/includes/upgrade.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/bogo/admin/includes/language-packs.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bogo/admin/includes/language-packs.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-walker-nav-menu-edit.php' (include_path='.:/usr/share/php') in wp-content/plugins/bogo/admin/includes/nav-menu.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-walker-nav-menu-edit.php): failed to open stream: No such file or directory in wp-content/plugins/bogo/admin/includes/nav-menu.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #2, #3 in bogo/assets to your readme.txt
bogo/bogo.php 92% from 13 tests
The main PHP script in "Bogo" version 3.7 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin5,455 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 1,189 | 165 | 4,432 |
CSS | 3 | 287 | 14 | 908 |
JavaScript | 3 | 21 | 1 | 96 |
JSON | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 14.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 8 | 25.00% |
▷ Public methods | 22 | 68.75% |
▷ Protected methods | 4 | 12.50% |
▷ Private methods | 6 | 18.75% |
Functions | 132 | |
▷ Named functions | 127 | 96.21% |
▷ Anonymous functions | 5 | 3.79% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
PNG images were not found in this plugin