90% dashboard-to-do-list

Code Review | Dashboard To-Do List

WordPress plugin Dashboard To-Do List scored90%from 54 tests.

About plugin

  • Plugin page: dashboard-to-do-list
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Jan 26, 2018
  • Latest release: Aug 22, 2023
  • Number of updates: 31
  • Update frequency: every 65.7 days
  • Top authors: arapps92 (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

1,000+ active /13,533 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼10.31ms] Passed 4 tests

Analyzing server-side resources used by Dashboard To-Do List
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0352.66 ▲7.82
Dashboard /wp-admin3.34 ▼0.0151.51 ▼18.02
Posts /wp-admin/edit.php3.39 ▲0.0353.63 ▲2.73
Add New Post /wp-admin/post-new.php5.92 ▲0.0387.72 ▼27.53
Media Library /wp-admin/upload.php3.26 ▲0.0339.30 ▲1.58

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Dashboard To-Do List
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,866 ▲9514.28 ▲0.291.85 ▼0.2343.17 ▼0.33
Dashboard /wp-admin2,270 ▲935.64 ▲0.0287.00 ▼7.5441.51 ▲5.40
Posts /wp-admin/edit.php2,102 ▲22.01 ▲0.0333.71 ▼7.3735.13 ▼1.55
Add New Post /wp-admin/post-new.php1,551 ▲618.26 ▼5.10660.81 ▲7.3468.03 ▲13.42
Media Library /wp-admin/upload.php1,402 ▲24.23 ▼0.0298.82 ▼0.7243.72 ▼2.19

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: to-do, dashboard widget, todo, widget, list...

dashboard-to-do-list/tdlw.php 92% from 13 tests

The entry point to "Dashboard To-Do List" version 1.2.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("dashboard-to-do-list.php" instead of "tdlw.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin296 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP52316162
PO File34352132
CSS2002

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected