Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.88ms] Passed 4 tests
An overview of server-side resources used by Manage my task now - Task Management Plugin which can create task for yourself and make your life easier with every perspective of life.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.41 ▲1.18 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.28 ▼8.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.61 ▼3.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.18 ▼16.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 41.63 ▲10.30 |
My Tasks /wp-admin/admin.php?page=tasks | 3.27 | 33.13 |
Create Task /wp-admin/admin.php?page=tasks-create | 3.23 | 29.43 |
All Task /wp-admin/admin.php?page=tasks-all | 3.24 | 31.45 |
Completed Task /wp-admin/admin.php?page=tasks-complete | 3.24 | 31.84 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 61 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_AMEAT_tblTasks |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Manage my task now - Task Management Plugin which can create task for yourself and make your life easier with every perspective of life.
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲107 | 14.00 ▼0.11 | 1.79 ▲0.20 | 27.18 ▼11.06 |
Dashboard /wp-admin | 2,250 ▲59 | 5.32 ▲0.40 | 118.77 ▲15.74 | 46.61 ▲3.77 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.29 ▲0.27 | 44.22 ▲3.83 | 41.83 ▲6.68 |
Add New Post /wp-admin/post-new.php | 1,713 ▲199 | 23.28 ▲5.73 | 633.75 ▼38.24 | 34.40 ▼18.69 |
Media Library /wp-admin/upload.php | 1,435 ▲50 | 4.75 ▲0.52 | 100.51 ▼8.15 | 43.70 ▼0.11 |
My Tasks /wp-admin/admin.php?page=tasks | 976 | 2.26 | 30.98 | 32.54 |
Create Task /wp-admin/admin.php?page=tasks-create | 899 | 2.25 | 30.26 | 32.54 |
All Task /wp-admin/admin.php?page=tasks-all | 976 | 2.26 | 28.86 | 36.09 |
Completed Task /wp-admin/admin.php?page=tasks-complete | 976 | 2.27 | 28.95 | 31.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_AMEAT_tblTasks
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/partials/task-create-form.php
- > /wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/partials/task-list.php
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant AMEAT_AK_TASK__PLUGIN_DIR - assumed 'AMEAT_AK_TASK__PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ameat-ak-manage-my-easy-tasks/functions/main.php on line 3
- > PHP Warning
Use of undefined constant AMEAT_AK_TASK__PLUGIN_DIR - assumed 'AMEAT_AK_TASK__PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/task-create.php on line 4
- > PHP Notice
Undefined variable: tasks in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/partials/task-list.php on line 13
- > PHP Fatal error
require_once(): Failed opening required 'AMEAT_AK_TASK__PLUGIN_DIRviews/partials/task-create-form.php' (include_path='.:/usr/share/php') in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/task-create.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/partials/task-delete-form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function AMEAT_countTaskLists() in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/partials/count-tasks.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function AMEAT_getTaskLists() in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/task-list.php:1
- > PHP Fatal error
require_once(): Failed opening required 'AMEAT_AK_TASK__PLUGIN_DIRfunctions/query.php' (include_path='.:/usr/share/php') in wp-content/plugins/ameat-ak-manage-my-easy-tasks/functions/main.php on line 3
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/partials/task-list.php on line 13
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/ameat-ak-manage-my-easy-tasks/views/partials/task-list.php on line 67
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Task List), #2 (Task Create), #3 (Task Edit), #4 (Task Delete), #5 (Task Search), #6 (Task Actions)
ameat-ak-manage-my-easy-tasks/ak_my_easy_task.php 77% from 13 tests
Analyzing the main PHP file in "Manage my task now - Task Management Plugin which can create task for yourself and make your life easier with every perspective of life." version 1.0.0
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ameat-ak-manage-my-easy-tasks.php" instead of "ak_my_easy_task.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.8" instead of "5.1")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin9,212 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 5 | 20 | 27 | 2,366 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 16 | 91 | 120 | 645 |
JavaScript | 4 | 0 | 11 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin