Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼8.25ms] Passed 4 tests
A check of server-side resources used by Simple Admin Task List
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 40.43 ▼9.34 |
Dashboard /wp-admin | 3.44 ▲0.09 | 52.09 ▼10.97 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 52.64 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 95.84 ▼14.16 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.82 ▲5.03 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 27 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_atl_admin_message |
New WordPress options |
---|
db_upgraded |
atl_db_version |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Simple Admin Task List: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,055 ▲294 | 13.50 ▼0.96 | 1.82 ▼0.10 | 38.84 ▼6.09 |
Dashboard /wp-admin | 2,446 ▲269 | 5.96 ▲0.30 | 98.38 ▲2.26 | 84.76 ▲41.79 |
Posts /wp-admin/edit.php | 2,369 ▲269 | 2.61 ▲0.60 | 47.78 ▲10.19 | 43.01 ▲6.19 |
Add New Post /wp-admin/post-new.php | 1,755 ▲222 | 20.79 ▼1.92 | 608.81 ▼67.17 | 48.88 ▼4.44 |
Media Library /wp-admin/upload.php | 1,655 ▲258 | 4.61 ▲0.43 | 109.49 ▼1.61 | 74.38 ▲25.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 successfully, leaving 1 table in the database
- wp_atl_admin_message
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- atl_db_version
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/simple-task-list/templates/modal.php:8
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/simple-task-list/templates/modal.php on line 5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/simple-task-list/templates/modal.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: task, tasklist, manage
simple-task-list/plugin.php 85% from 13 tests
The primary PHP file in "Simple Admin Task List" version 1.1.0 is used by WordPress to initiate all plugin functionality
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 ("simple-task-list.php" instead of "plugin.php")
- 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 glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected6,597 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,232 | 364 | 4,920 |
CSS | 6 | 176 | 10 | 909 |
PHP | 5 | 79 | 100 | 595 |
PO File | 1 | 45 | 45 | 117 |
SVG | 1 | 0 | 1 | 41 |
Markdown | 1 | 19 | 0 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 5 | 20.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.13MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 39.52KB | 15.53KB | ▼ 60.71% |
assets/img/icons/noMsg.png | 1.23KB | 1.16KB | ▼ 5.63% |
assets/screenshot-2.png | 94.30KB | 34.52KB | ▼ 63.39% |
assets/img/icons/haveMsg.png | 1.57KB | 1.44KB | ▼ 8.28% |