Benchmarks
Plugin footprint 65% 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.63MB] [CPU: ▼34.72ms] Passed 4 tests
This is a short check of server-side resources used by BhinDB, Bhinneka Database for Bhinneka Affiliates Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 43.81 ▲2.41 |
Dashboard /wp-admin | 3.31 ▲0.01 | 26.40 ▼31.36 |
Posts /wp-admin/edit.php | 3.31 ▼0.05 | 25.53 ▼24.53 |
Add New Post /wp-admin/post-new.php | 3.31 ▼2.58 | 23.66 ▼70.02 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 23.75 ▼12.97 |
BhinDB /wp-admin/options-general.php?page=bhindb | 3.32 | 30.62 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for BhinDB, Bhinneka Database for Bhinneka Affiliates Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.07 | 2.09 ▲0.35 | 38.43 ▼6.37 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.05 | 98.30 ▼21.30 | 38.83 ▼9.01 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.05 ▲0.07 | 33.19 ▼8.42 | 34.37 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 17.98 ▼5.09 | 648.40 ▼43.15 | 56.88 ▲4.87 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.19 ▲0.08 | 97.40 ▼7.18 | 42.85 ▼0.19 |
BhinDB /wp-admin/options-general.php?page=bhindb | 970 | 2.14 | 23.12 | 35.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bhindb
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=bhindb
- > Notice in wp-content/plugins/bhindb/bhindb.php+224
Undefined index: bhindb_updated
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bhindb/bhindb.php:314
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Products in 1 column), #2 (Products in 2 columns), #3 (Products in 3 columns)
bhindb/bhindb.php 92% from 13 tests
This is the main PHP file of "BhinDB, Bhinneka Database for Bhinneka Affiliates Plugin" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 168 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,522 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 228 | 287 | 1,522 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 163.50 |
▷ Minimum class complexity | 130.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 85 | |
▷ Static methods | 1 | 1.18% |
▷ Public methods | 69 | 81.18% |
▷ Protected methods | 16 | 18.82% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin