Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.68ms] Passed 4 tests
Analyzing server-side resources used by Project Tasks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 44.15 ▼0.24 |
Dashboard /wp-admin | 3.54 ▲0.19 | 55.75 ▼12.62 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 50.19 ▲2.57 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 90.35 ▼4.42 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 42.54 ▲4.12 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/project-tasks/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 22 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_project_task_targets |
wp_project_tasks |
wp_project_tasks_process |
wp_project_task_process_objects |
New WordPress options |
---|
widget_recent-comments |
project_tasks_db_version |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
project_tasks_plugin_error |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Project Tasks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲155 | 13.98 ▼0.40 | 13.95 ▲11.88 | 46.40 ▲2.25 |
Dashboard /wp-admin | 2,221 ▲18 | 5.86 ▼0.04 | 120.76 ▲2.27 | 79.32 ▲31.61 |
Posts /wp-admin/edit.php | 2,112 ▲15 | 2.01 ▼0.00 | 33.74 ▼2.13 | 34.63 ▼2.77 |
Add New Post /wp-admin/post-new.php | 1,539 ▼1 | 23.08 ▼0.07 | 697.33 ▲22.76 | 83.57 ▲15.85 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.16 ▼0.01 | 119.50 ▲9.56 | 51.28 ▲0.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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
- Zombie tables detected upon uninstall: 4 tables
- wp_project_task_targets
- wp_project_task_process_objects
- wp_project_tasks
- wp_project_tasks_process
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- project_tasks_plugin_error
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
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_action() in wp-content/plugins/project-tasks/project-tasks.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Screenshot #1 (A Tasks fourth tab is logging everything) image missing
project-tasks/project-tasks.php 92% from 13 tests
"Project Tasks" version 0.9.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 313 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,540 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 1,036 | 439 | 992 |
JavaScript | 1 | 384 | 37 | 371 |
CSS | 1 | 89 | 42 | 177 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 28.62 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 5.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 10 | 19.61% |
▷ Public methods | 49 | 96.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.92% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
files/project-task-icon-large.png | 1.71KB | 0.90KB | ▼ 47.17% |
files/project-task-icon-small.png | 1.27KB | 0.45KB | ▼ 64.57% |