Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/wtg-tasks-manager/classes/class-wtgtasksmanager.php+322
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▼1.94MB] [CPU: ▼53.61ms] Passed 4 tests
Server-side resources used by WTG Tasks Manager Beta
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 5.07 ▼43.92 |
Dashboard /wp-admin | 2.06 ▼1.24 | 7.30 ▼38.85 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 5.78 ▼40.85 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 6.57 ▼90.83 |
Media Library /wp-admin/upload.php | 2.06 ▼1.16 | 6.83 ▼28.04 |
All Tasks /wp-admin/edit.php?post_type=wtgtasks | 2.07 | 6.04 |
Skills /wp-admin/edit-tags.php?taxonomy=wtgtaskmanagerskills&post_type=wtgtasks | 2.07 | 5.76 |
New Task /wp-admin/post-new.php?post_type=wtgtasks | 2.06 | 6.09 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wtgtasks | 2.07 | 6.92 |
Settings /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager | 2.07 | 6.39 |
Extra Views /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager_alltasks | 2.07 | 6.45 |
Server storage [IO: ▲3.03MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 85 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_webtechglobal_projects |
New WordPress options |
---|
wtgtasksmanager_installedversion |
wtgtasksmanager_installeddate |
wtgtasksmanager_formvalidation |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
wtgtasksmanager_notifications |
wtgtasksmanager_schedule |
wtgtasksmanager_is_installed |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
WTG Tasks Manager Beta: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲104 | 13.16 ▼1.49 | 1.69 ▼0.18 | 44.00 ▲1.32 |
Dashboard /wp-admin | 2,247 ▲56 | 5.85 ▲0.90 | 100.63 ▼3.02 | 38.59 ▼6.54 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.01 ▼0.02 | 34.59 ▼3.89 | 34.44 ▼7.87 |
Add New Post /wp-admin/post-new.php | 1,571 ▲36 | 22.95 ▼0.16 | 649.00 ▼4.93 | 53.08 ▲2.80 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.41 ▲0.13 | 106.91 ▼0.96 | 47.13 ▼0.81 |
All Tasks /wp-admin/edit.php?post_type=wtgtasks | 1,141 | 1.94 | 36.21 | 30.10 |
Skills /wp-admin/edit-tags.php?taxonomy=wtgtaskmanagerskills&post_type=wtgtasks | 1,284 | 2.14 | 33.89 | 29.42 |
New Task /wp-admin/post-new.php?post_type=wtgtasks | 2,863 | 7.85 | 172.99 | 67.39 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wtgtasks | 1,354 | 2.14 | 25.72 | 28.59 |
Settings /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager | 4,029 | 11.33 | 204.34 | 109.89 |
Extra Views /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager_alltasks | 1,184 | 1.97 | 31.77 | 29.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/wtg-tasks-manager/classes/class-wtgtasksmanager.php+322
count(): Parameter must be an array or an object that implements Countable
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_webtechglobal_projects
- Zombie WordPress options were found after uninstall: 13 options
- theysaidso_admin_options
- db_upgraded
- wtgtasksmanager_installedversion
- wtgtasksmanager_schedule
- wtgtasksmanager_is_installed
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- wtgtasksmanager_settings
- widget_recent-comments
- ...
Smoke tests 0% 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 server-side errors were triggered
- 188 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager_alltasks
- > Warning in wp-content/plugins/wtg-tasks-manager/classes/class-wtgtasksmanager.php+322
count(): Parameter must be an array or an object that implements Countable
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wtgtasks
- > Notice in wp-content/plugins/wtg-tasks-manager/posttypes/tasks.php+111
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager_alltasks
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 34× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wtg-tasks-manager/posttypes/tasks.php
- > /wp-content/plugins/wtg-tasks-manager/views/closedtasks.php
- > /wp-content/plugins/wtg-tasks-manager/arrays/tableschema_array.php
- > /wp-content/plugins/wtg-tasks-manager/classes/class-updates.php
- > /wp-content/plugins/wtg-tasks-manager/arrays/variables_adminconfig.php
- > /wp-content/plugins/wtg-tasks-manager/wtg-tasks-manager.php
- > /wp-content/plugins/wtg-tasks-manager/classes/class-log.php
- > /wp-content/plugins/wtg-tasks-manager/views/finishedtasks.php
- > /wp-content/plugins/wtg-tasks-manager/classes/class-view.php
- > /wp-content/plugins/wtg-tasks-manager/views/cancelledtasks.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WTGTASKSMANAGER_UI' not found in wp-content/plugins/wtg-tasks-manager/classes/class-forms.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager_alltasks
- > Network (severe)
wp-content/plugins/wtgtasksmanager/css/notifications.css?ver=1.0.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager_alltasks
- > Network (severe)
wp-content/plugins/wtgtasksmanager/css/admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/edit.php?post_type=wtgtasks&page=wtgtasksmanager
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Manage Multiple Projects.), #2 (Simple Import Statistics.), #3 (Category Data Selection.)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wtg-tasks-manager ===
)
wtg-tasks-manager/wtg-tasks-manager.php 92% from 13 tests
"WTG Tasks Manager Beta" version 0.0.40's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected10,862 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 2,408 | 7,166 | 8,876 |
PO File | 1 | 623 | 1,388 | 1,339 |
CSS | 2 | 93 | 42 | 615 |
JavaScript | 2 | 11 | 39 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 37.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 268.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 1 | 2.63% |
▷ Concrete classes | 37 | 97.37% |
▷ Final classes | 0 | 0.00% |
Methods | 539 | |
▷ Static methods | 5 | 0.93% |
▷ Public methods | 524 | 97.22% |
▷ Protected methods | 14 | 2.60% |
▷ Private methods | 1 | 0.19% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 37 | |
▷ Global constants | 35 | 94.59% |
▷ Class constants | 2 | 5.41% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
26 PNG files occupy 2.08MB with 1.86MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/restricted_extra.png | 124.49KB | 14.43KB | ▼ 88.41% |
images/restricted_large.png | 59.16KB | 5.39KB | ▼ 90.89% |
images/stop_large.png | 63.48KB | 5.79KB | ▼ 90.88% |
images/validation_extra.png | 134.24KB | 16.01KB | ▼ 88.07% |
images/question_extra.png | 150.51KB | 16.61KB | ▼ 88.96% |