Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼9.95ms] Passed 4 tests
This is a short check of server-side resources used by Todo lists for wp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.55 ▼8.47 |
Dashboard /wp-admin | 3.48 ▲0.18 | 47.74 ▼1.16 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 54.45 ▼2.43 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 79.20 ▼23.66 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.18 ▼5.25 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_todowidget |
tdlw_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Todo lists for wp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,080 ▲319 | 15.16 ▲0.85 | 6.34 ▲4.51 | 44.24 ▲1.67 |
Dashboard /wp-admin | 2,371 ▲197 | 6.41 ▲0.79 | 119.97 ▲27.37 | 36.92 ▼5.46 |
Posts /wp-admin/edit.php | 2,296 ▲196 | 3.55 ▲1.56 | 59.12 ▲16.61 | 35.45 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,555 ▲15 | 17.54 ▼5.48 | 649.32 ▼6.03 | 36.87 ▼20.63 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.36 ▲0.23 | 82.83 ▼33.68 | 41.30 ▼6.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- tdlw_settings
- widget_todowidget
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/todo-lists-for-wp/widgets/class-todoWidget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/todo-lists-for-wp/templates/lists.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function Pritom\\TodoListsForWordPress\\Admin\\add_action() in wp-content/plugins/todo-lists-for-wp/includes/admin/class-admin.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function pritom\\TodoListsForWordPress\\add_action() in wp-content/plugins/todo-lists-for-wp/includes/class-frontend.php:65
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: settings, shortcode, todo
todo-lists-for-wp/todo-lists-for-wp.php 92% from 13 tests
"Todo lists for wp" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/i18n/languages/" does not exist
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
No dangerous file extensions were detected1,024 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 171 | 461 | 945 |
JavaScript | 2 | 10 | 18 | 64 |
CSS | 2 | 1 | 0 | 15 |
PHP code Passed 2 tests
An short overview of 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.33 |
Average class complexity | 13.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 77 | |
▷ Static methods | 3 | 3.90% |
▷ Public methods | 69 | 89.61% |
▷ Protected methods | 2 | 2.60% |
▷ Private methods | 6 | 7.79% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.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
PNG images were not found in this plugin