Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.17ms] Passed 4 tests
A check of server-side resources used by Balidrop
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.82 ▼5.17 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.27 ▼8.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.75 ▲1.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.87 ▼15.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.33 ▼2.98 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Balidrop: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼0.97 | 1.84 ▼0.06 | 42.10 ▲1.61 |
Dashboard /wp-admin | 2,210 ▲19 | 5.89 ▲1.04 | 111.19 ▲4.13 | 38.39 ▼3.36 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▼0.02 | 39.41 ▲0.23 | 37.56 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,523 ▲4 | 23.50 ▲0.09 | 664.56 ▼11.01 | 63.28 ▲10.37 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.07 | 96.52 ▼20.16 | 46.56 ▼2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/balidrop/pages/product/product.php
- > /wp-content/plugins/balidrop/balidrop.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/balidrop/includes/core/core.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 17 tag instead of maximum 10
- Screenshots: A description for screenshot #1 is missing in balidrop/assets to your readme.txt
balidrop/balidrop.php 92% from 13 tests
The principal PHP file in "Balidrop" v. 1.0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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 plugin1,412 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 196 | 29 | 521 |
JavaScript | 3 | 59 | 27 | 338 |
SVG | 1 | 0 | 0 | 288 |
CSS | 3 | 33 | 25 | 233 |
Markdown | 1 | 16 | 0 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 70.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 29.41% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
There were not PNG files found in your plugin