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: ▼2.80ms] Passed 4 tests
An overview of server-side resources used by BDroppy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 47.83 ▲10.82 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.84 ▼5.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.31 ▼4.18 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.39 ▼8.40 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.20 ▲7.34 |
Server storage [IO: ▲1.95MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 113 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BDroppy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.37 | 1.67 ▲0.11 | 40.10 ▼6.65 |
Dashboard /wp-admin | 2,198 ▲17 | 5.58 ▼0.14 | 84.88 ▼12.52 | 39.27 ▼1.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.04 | 33.73 ▼0.74 | 34.40 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.26 ▼0.05 | 671.52 ▲17.24 | 51.38 ▼5.75 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.18 ▼0.04 | 110.25 ▲16.03 | 48.49 ▲5.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bdroppy/src/Pages/Template/Login/index.php
- > /wp-content/plugins/bdroppy/src/Pages/Template/Catalog/CurrentCatalog.php
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'BDroppy\\Services\\Config\\baseConfig' not found in wp-content/plugins/bdroppy/src/Services/Config/CatalogConfig.php:3
- > PHP Fatal error
Uncaught Error: Class 'BDroppy\\Services\\System\\SystemLanguage' not found in wp-content/plugins/bdroppy/src/Pages/Template/adminBase.php:16
- > PHP Fatal error
Uncaught Error: Class 'BDroppy\\Pages\\BasePage' not found in wp-content/plugins/bdroppy/src/Pages/Status.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bdroppy/src/Pages/Template/Catalog/index.php:2
- > PHP Fatal error
Uncaught Error: Class 'BDroppy\\Pages\\BasePage' not found in wp-content/plugins/bdroppy/src/Pages/Catalog.php:10
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/bdroppy/src/Pages/Template/Dashboard/queueItems.php on line 1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bdroppy/src/Tools/Tracking/render_footer_tracking_events.php:1
- > PHP Fatal error
Uncaught Error: Class 'BDroppy\\Pages\\BasePage' not found in wp-content/plugins/bdroppy/src/Pages/Order.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bdroppy/src/Pages/Template/Setting/index.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bdroppy/src/Tools/Tracking/render_tracking_events.php:2
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
bdroppy/bdroppy.php Passed 13 tests
"BDroppy" version 2.7.41's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
14 characters long description:
BDroppy Plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected24,032 lines of code in 104 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 2,793 | 14 | 16,215 |
PHP | 91 | 1,562 | 807 | 7,197 |
JavaScript | 8 | 157 | 458 | 606 |
JSON | 2 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 65 | |
▷ Abstract classes | 2 | 3.08% |
▷ Concrete classes | 63 | 96.92% |
▷ Final classes | 0 | 0.00% |
Methods | 406 | |
▷ Static methods | 76 | 18.72% |
▷ Public methods | 348 | 85.71% |
▷ Protected methods | 8 | 1.97% |
▷ Private methods | 50 | 12.32% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 27 | |
▷ Global constants | 8 | 29.63% |
▷ Class constants | 19 | 70.37% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/logo.png | 21.19KB | 12.92KB | ▼ 39.06% |
assets/image/icon.png | 1.67KB | 0.49KB | ▼ 70.85% |