Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/aj-todo/aj_todo.php+13
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.87MB] [CPU: ▼185.57ms] Passed 4 tests
A check of server-side resources used by AJ TODO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.76 ▼1.07 | 3.90 ▼18.41 |
Dashboard /wp-admin | 1.78 ▼1.28 | 3.19 ▼43.17 |
Posts /wp-admin/edit.php | 1.78 ▼1.33 | 4.88 ▼28.92 |
Add New Post /wp-admin/post-new.php | 1.78 ▼3.66 | 4.75 ▼648.86 |
Media Library /wp-admin/upload.php | 1.78 ▼1.22 | 3.58 ▼21.34 |
Project /wp-admin/admin.php?page=ajtodo_admin_project | 1.78 | 3.92 |
Settings /wp-admin/admin.php?page=ajtodo_admin_setting | 1.78 | 3.77 |
Server storage [IO: ▲20.56MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 213 new files
Database: 4 new tables, 2 new options
New tables |
---|
wp_ajtodo_projectkeys |
wp_ajtodo_project |
wp_ajtodo_link |
wp_ajtodo_plan |
New WordPress options |
---|
ajtodo_db_version |
post_type_rules_flased_authors |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AJ TODO
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,834 ▲207 | 18.08 ▲2.08 | 22.31 ▲17.32 | 92.60 ▲17.74 |
Dashboard /wp-admin | 2,975 ▲79 | 7.64 ▲1.41 | 153.16 ▲23.44 | 178.77 ▲4.86 |
Posts /wp-admin/edit.php | 2,786 ▲46 | 3.95 ▲0.71 | 75.88 ▲12.47 | 138.55 ▲4.08 |
Add New Post /wp-admin/post-new.php | 2,361 ▼1,452 | 16.81 ▼2.10 | 415.74 ▼30.56 | 158.70 ▼2.87 |
Media Library /wp-admin/upload.php | 1,798 ▲46 | 6.76 ▲1.22 | 137.44 ▼7.33 | 180.71 ▼1.14 |
Project /wp-admin/admin.php?page=ajtodo_admin_project | 1,059 | 3.40 | 63.87 | 101.93 |
Settings /wp-admin/admin.php?page=ajtodo_admin_setting | 1,297 | 3.35 | 66.71 | 156.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/aj-todo/aj_todo.php+13
date_default_timezone_set(): Timezone ID '' is invalid
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_ajtodo_project
- wp_ajtodo_link
- wp_ajtodo_plan
- wp_ajtodo_projectkeys
- Zombie WordPress options detected upon uninstall: 2 options
- post_type_rules_flased_authors
- ajtodo_db_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ajtodo_admin_setting
- > Notice in wp-content/plugins/aj-todo/aj_todo.php+13
date_default_timezone_set(): Timezone ID '' is invalid
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ajtodo_admin_setting
- > Notice in wp-content/plugins/aj-todo/admin/admin.basic.php+44
Undefined variable: ajtodo_start_status_filter
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 48× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/aj-todo/admin/admin.team.project.menu.php:6
- > PHP Warning
Use of undefined constant AJTODO_PLUGIN_URL - assumed 'AJTODO_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/aj-todo/inc/ajtodo_core.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/aj-todo/admin/admin.status.add.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aj-todo/admin/admin.virtual.page.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/aj-todo/inc/ajtodo_status_table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/aj-todo/inc/ajtodo_js.php:6
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/aj-todo/inc/ajtodo_doc_table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aj-todo/admin/ajtodo_admin_project_team.todo.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aj-todo/admin/admin.meta.box.php:2
- > PHP Warning
Use of undefined constant AJTODO_PLUGIN_IDEV - assumed 'AJTODO_PLUGIN_IDEV' (this will throw an Error in a future version of PHP) in wp-content/plugins/aj-todo/inc/ajtodo_core.php on line 23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
- Screenshots: A description for screenshot #7 is missing in aj-todo/assets to your readme.txt
aj-todo/aj_todo.php 92% from 13 tests
"AJ TODO" version 1.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aj-todo.php" instead of "aj_todo.php")
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 detected162,194 lines of code in 169 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 58,693 |
CSS | 24 | 5,030 | 108 | 29,762 |
YAML | 4 | 0 | 0 | 24,443 |
JavaScript | 35 | 2,941 | 2,107 | 16,577 |
SVG | 6 | 0 | 24 | 13,703 |
PHP | 59 | 596 | 66 | 7,427 |
Sass | 18 | 507 | 34 | 4,669 |
LESS | 18 | 504 | 55 | 4,627 |
PO File | 3 | 1,125 | 1,434 | 2,293 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 28.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 132.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 263 | |
▷ Static methods | 23 | 8.75% |
▷ Public methods | 212 | 80.61% |
▷ Protected methods | 1 | 0.38% |
▷ Private methods | 50 | 19.01% |
Functions | 105 | |
▷ Named functions | 94 | 89.52% |
▷ Anonymous functions | 11 | 10.48% |
Constants | 23 | |
▷ Global constants | 23 | 100.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
There were not PNG files found in your plugin