Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▲2.04ms] Passed 4 tests
This is a short check of server-side resources used by Todo by Aavoya
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 48.96 ▲8.97 |
Dashboard /wp-admin | 3.43 ▲0.13 | 52.71 ▲2.73 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 51.13 ▲2.87 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 91.34 ▲0.97 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.87 ▲1.60 |
Server storage [IO: ▲2.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 78 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
wptba_autoLogOutDuration |
wptba_encryption_key |
wptba_aau |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Todo by Aavoya
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.35 ▲0.07 | 1.91 ▲0.07 | 44.43 ▲0.86 |
Dashboard /wp-admin | 2,208 ▲43 | 5.55 ▼0.03 | 85.18 ▼2.65 | 38.14 ▼6.55 |
Posts /wp-admin/edit.php | 2,113 ▲16 | 1.99 ▼0.06 | 33.25 ▼2.95 | 35.01 ▼2.84 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.05 ▼0.13 | 690.92 ▲52.22 | 51.92 ▼13.15 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.22 ▲0.01 | 109.09 ▲8.72 | 46.06 ▼1.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/todo-by-aavoya/wptba/Frontend/Template.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: to do list, todo, to do, task management, trello alternative...
todo-by-aavoya/todo-by-aavoya.php Passed 13 tests
"Todo by Aavoya" version 22.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
56 characters long description:
Yet another todo plugin with project management features
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
Everything looks great! No dangerous files found in this plugin4,126 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 700 | 1,422 | 2,724 |
SVG | 2 | 0 | 0 | 923 |
Markdown | 1 | 73 | 0 | 284 |
JSON | 2 | 0 | 0 | 112 |
CSS | 5 | 2 | 10 | 81 |
JavaScript | 2 | 0 | 1 | 2 |
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.37 |
Average class complexity | 12.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 31 | 100.00% |
▷ Final classes | 1 | 3.23% |
Methods | 148 | |
▷ Static methods | 105 | 70.95% |
▷ Public methods | 130 | 87.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 12.16% |
Functions | 11 | |
▷ Named functions | 1 | 9.09% |
▷ Anonymous functions | 10 | 90.91% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin