Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.63MB] [CPU: ▼18.05ms] Passed 4 tests
An overview of server-side resources used by DBP Cloud WP Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.34 ▲2.12 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.96 ▲0.10 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.25 ▼3.37 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.63 | 37.70 ▼71.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.75 ▲8.94 |
Index /wp-admin/admin.php?page=dbpcloudwp | 3.25 | 29.98 |
Print Design /wp-admin/admin.php?page=dbpcloudwp-css_typesetting | 3.22 | 30.36 |
Spreadsheet /wp-admin/admin.php?page=dbpcloudwp-spreadsheet | 3.22 | 32.46 |
CSV/JSON Import /wp-admin/admin.php?page=dbpcloudwp-importer | 3.22 | 27.94 |
User Settings /wp-admin/admin.php?page=dbpcloudwp-user | 3.25 | 30.43 |
Table View /wp-admin/admin.php?page=dbpcloudwp-table_view | 3.24 | 61.64 |
Server storage [IO: ▲0.10MB] [DB: ▲0.12MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for DBP Cloud WP Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,080 ▲334 | 13.28 ▼1.10 | 4.33 ▲2.60 | 48.76 ▲2.93 |
Dashboard /wp-admin | 2,483 ▲298 | 5.85 ▲0.04 | 106.59 ▼9.71 | 41.72 ▼10.74 |
Posts /wp-admin/edit.php | 2,138 ▲49 | 2.04 ▲0.04 | 40.61 ▲4.47 | 35.96 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,552 ▲33 | 23.49 ▲0.26 | 714.49 ▲51.37 | 63.32 ▲10.16 |
Media Library /wp-admin/upload.php | 1,437 ▲55 | 4.23 ▲0.07 | 107.94 ▲11.38 | 46.41 ▲4.91 |
Index /wp-admin/admin.php?page=dbpcloudwp | 1,034 | 2.03 | 31.62 | 51.64 |
Print Design /wp-admin/admin.php?page=dbpcloudwp-css_typesetting | 1,038 | 2.03 | 27.05 | 42.41 |
Spreadsheet /wp-admin/admin.php?page=dbpcloudwp-spreadsheet | 1,039 | 2.05 | 22.58 | 39.04 |
CSV/JSON Import /wp-admin/admin.php?page=dbpcloudwp-importer | 1,016 | 2.07 | 24.20 | 33.46 |
User Settings /wp-admin/admin.php?page=dbpcloudwp-user | 3,033 | 9.91 | 106.52 | 152.85 |
Table View /wp-admin/admin.php?page=dbpcloudwp-table_view | 1,036 | 2.06 | 23.23 | 38.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.12MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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)
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dbpcloudwp-table_view
- > Notice in wp-content/plugins/dbpcloudwp/includes/class.dbpcloudwp-interface.php+100
Undefined variable: ccc_dataset_flag
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dbpcloudwp-table_view
- > Notice in wp-content/plugins/dbpcloudwp/includes/class.dbpcloudwp-interface.php+199
Undefined variable: wp_rest_namespace_error
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
dbpcloudwp/dbpcloudwp.php 92% from 13 tests
"DBP Cloud WP Plugin" version 0.1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 263 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
No dangerous file extensions were detected1,317 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 106 | 134 | 781 |
CSS | 3 | 11 | 3 | 268 |
PO File | 1 | 73 | 91 | 236 |
SVG | 2 | 0 | 1 | 21 |
JavaScript | 2 | 1 | 0 | 10 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.43 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 1 | 10.00% |
▷ Anonymous functions | 9 | 90.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin