Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▲539.84ms] 75% from 4 tests
Server-side resources used by DevtasksUp - ClickUp integration
Please fix the following
- Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 539.84ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 580.71 ▲537.88 |
Dashboard /wp-admin | 3.60 ▲0.26 | 609.31 ▲549.57 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 598.33 ▲554.33 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 616.82 ▲517.56 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 594.50 ▲563.82 |
Server storage [IO: ▲12.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 82 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
devt-connect-data |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for DevtasksUp - ClickUp integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲56 | 14.32 ▲0.04 | 1.65 ▼0.06 | 37.95 ▼5.59 |
Dashboard /wp-admin | 2,218 ▲43 | 5.54 ▼0.10 | 84.95 ▼27.97 | 39.52 ▼7.41 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.91 ▼0.09 | 36.19 ▼1.41 | 33.98 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 21.24 ▼1.94 | 730.20 ▲91.24 | 51.14 ▼0.54 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.16 ▼0.06 | 106.96 ▲7.68 | 44.66 ▲3.92 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% 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:
- Tags: You are using too many tags: 11 tag instead of maximum 10
devtasksup/dev-tasks-up.php 77% from 13 tests
Analyzing the main PHP file in "DevtasksUp - ClickUp integration" version 1.2.2
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 245 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("devtasksup.php" instead of "dev-tasks-up.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin52,670 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 4,478 | 115 | 18,662 |
JavaScript | 22 | 3,694 | 1,396 | 17,976 |
SVG | 7 | 0 | 12 | 14,395 |
PHP | 9 | 324 | 308 | 1,446 |
PO File | 1 | 69 | 62 | 191 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.65% |
Functions | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/48.png | 8.45KB | 3.72KB | ▼ 55.93% |