Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.89ms] Passed 4 tests
An overview of server-side resources used by DivvyHQ
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.03 ▲0.66 |
Dashboard /wp-admin | 3.35 ▲0.01 | 52.06 ▼7.50 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 53.76 ▲4.89 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 86.62 ▼13.19 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.12 ▲4.47 |
DivvyHQ /wp-admin/options-general.php?page=DivvyHQ | 3.28 | 35.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Illegal file modification found: 1 file (0.73KB) outside of "wp-content/plugins/divvyhq/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
DivvyHQ: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.72 ▲0.82 | 1.62 ▼0.20 | 39.89 ▼0.60 |
Dashboard /wp-admin | 2,203 ▲23 | 5.53 ▼0.01 | 84.53 ▼3.82 | 41.57 ▼0.34 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▲0.06 | 36.62 ▼1.05 | 34.28 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲2 | 23.09 ▼0.10 | 663.58 ▼1.38 | 65.03 ▲13.05 |
Media Library /wp-admin/upload.php | 1,411 ▲17 | 4.20 ▼0.03 | 98.69 ▲1.43 | 43.73 ▲2.90 |
DivvyHQ /wp-admin/options-general.php?page=DivvyHQ | 800 | 2.00 | 24.61 | 24.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=DivvyHQ
- > Notice in wp-content/plugins/divvyhq/admin/partials/divvyhq-display.php+33
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please 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 get_option() in wp-content/plugins/divvyhq/admin/partials/divvyhq-display.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: divvyhq
divvyhq/divvyhq.php 92% from 13 tests
The main file in "DivvyHQ" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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 detected292 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 89 | 453 | 289 |
JavaScript | 1 | 2 | 3 | 3 |
CSS | 1 | 0 | 3 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 25 | 86.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 13.79% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin