67% ameat-ak-manage-my-easy-tasks

Code Review | Manage my task now - Task Management Plugin which can create task for yourself and make your life easier with every perspective of life.

WordPress plugin Manage my task now - Task Management Plugin which can create task for yourself and make your life easier with every perspective of life. scored67%from 54 tests.

About plugin

  • Plugin page: ameat-ak-manage-m...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Dec 26, 2022
  • Latest release: Dec 26, 2022
  • Number of updates: 4
  • Update frequency: every 166.0 days
  • Top authors: Maniruzzaman Akash (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /519 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.41 ▲1.18
Dashboard /wp-admin3.32 ▲0.0245.28 ▼8.72
Posts /wp-admin/edit.php3.37 ▲0.0245.61 ▼3.35
Add New Post /wp-admin/post-new.php5.90 ▲0.0283.18 ▼16.64
Media Library /wp-admin/upload.php3.24 ▲0.0241.63 ▲10.30
My Tasks /wp-admin/admin.php?page=tasks3.2733.13
Create Task /wp-admin/admin.php?page=tasks-create3.2329.43
All Task /wp-admin/admin.php?page=tasks-all3.2431.45
Completed Task /wp-admin/admin.php?page=tasks-complete3.2431.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,853 ▲10714.00 ▼0.111.79 ▲0.2027.18 ▼11.06
Dashboard /wp-admin2,250 ▲595.32 ▲0.40118.77 ▲15.7446.61 ▲3.77
Posts /wp-admin/edit.php2,147 ▲582.29 ▲0.2744.22 ▲3.8341.83 ▲6.68
Add New Post /wp-admin/post-new.php1,713 ▲19923.28 ▲5.73633.75 ▼38.2434.40 ▼18.69
Media Library /wp-admin/upload.php1,435 ▲504.75 ▲0.52100.51 ▼8.1543.70 ▼0.11
My Tasks /wp-admin/admin.php?page=tasks9762.2630.9832.54
Create Task /wp-admin/admin.php?page=tasks-create8992.2530.2632.54
All Task /wp-admin/admin.php?page=tasks-all9762.2628.8636.09
Completed Task /wp-admin/admin.php?page=tasks-complete9762.2728.9531.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

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)
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
SVG1002,671
CSS520272,366
Sass1434341,768
LESS1434441,758
PHP1691120645
JavaScript40114

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 code0.23
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions17
▷ Named functions17100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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