Benchmarks
Plugin footprint 83% 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: ▼1.22MB] [CPU: ▼327.16ms] Passed 4 tests
An overview of server-side resources used by Accessibility Task Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 55.34 ▲4.22 |
Dashboard /wp-admin | 3.10 ▼0.30 | 16.58 ▼18.56 |
Posts /wp-admin/edit.php | 3.10 ▼0.54 | 17.06 ▼21.29 |
Add New Post /wp-admin/post-new.php | 3.10 ▼3.87 | 17.42 ▼1,259.92 |
Media Library /wp-admin/upload.php | 3.10 ▼0.19 | 14.94 ▼8.88 |
Pretask /wp-admin/admin.php?page=general | 3.10 | 17.77 |
Server storage [IO: ▲0.20MB] [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: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Accessibility Task Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 16.29 ▲0.59 | 7.17 ▲0.67 | 2.32 ▼0.86 |
Dashboard /wp-admin | 2,926 ▲68 | 6.15 ▼0.01 | 120.60 ▼18.10 | 157.31 ▼7.34 |
Posts /wp-admin/edit.php | 2,726 ▲35 | 3.25 ▲0.01 | 61.66 ▼1.95 | 144.31 ▲4.46 |
Add New Post /wp-admin/post-new.php | 1,760 ▲99 | 17.78 ▲1.75 | 406.61 ▼23.31 | 210.06 ▲54.76 |
Media Library /wp-admin/upload.php | 1,734 ▲36 | 5.59 ▲0.07 | 139.88 ▲2.65 | 188.56 ▲4.10 |
Pretask /wp-admin/admin.php?page=general | 1,066 | 2.42 | 52.30 | 101.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5600
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=general
- > User deprecated in wp-includes/functions.php+5600
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/admin.php?page=general
- > Notice in wp-content/plugins/accessibility-task-manager/view/taskmeister-form.php+19
Undefined index: post
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/accessibility-task-manager/accessibility-task-manager.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/accessibility-task-manager/view/taskmeister-form.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/accessibility-task-manager/view/taskmeister-pretasks.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
2 plugin tags: productivity, accessibility content
accessibility-task-manager/accessibility-task-manager.php 92% from 13 tests
Analyzing the main PHP file in "Accessibility Task Manager" version 1.2.1
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected292 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 37 | 93 | 171 |
JavaScript | 1 | 15 | 0 | 61 |
CSS | 1 | 5 | 0 | 60 |
PHP code Passed 2 tests
A short review of 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.16 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.19MB with 0.14MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 190.62KB | 42.80KB | ▼ 77.55% |