100% dashboard-to-do-list

Code Review | Dashboard To-Do List

WordPress plugin Dashboard To-Do List scored 100% 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-5.9
  • WordPress version: 5.9.2
  • First release: Jan 26, 2018
  • Latest release: Jan 26, 2022
  • Number of updates: 28
  • Update frequency: every 52.3 days
  • Top authors: arapps92 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

1,000+ active / 10,350 total downloads

Benchmarks

Plugin footprint Passed 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.01MB] [CPU: ▼297.07ms] Passed 4 tests

Analyzing server-side resources used by Dashboard To-Do List
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.0656.41 ▲4.23
Dashboard /wp-admin3.44 ▲0.0335.35 ▲3.48
Posts /wp-admin/edit.php3.67 ▲0.0338.37 ▲3.82
Add New Post /wp-admin/post-new.php6.92 ▼0.0597.11 ▼1,188.07
Media Library /wp-admin/upload.php3.32 ▲0.0225.40 ▼7.51

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Dashboard To-Do List: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,890 ▲14616.22 ▲0.636.25 ▲0.242.16 ▼0.38
Dashboard /wp-admin2,999 ▲1386.17 ▼0.01117.70 ▼15.50156.64 ▼6.07
Posts /wp-admin/edit.php2,690 ▼43.24 ▲0.0162.81 ▼1.21137.32 ▼5.38
Add New Post /wp-admin/post-new.php1,762 ▲5122.36 ▲1.54441.64 ▼7.87153.87 ▼3.63
Media Library /wp-admin/upload.php1,703 ▲55.54 ▲0.02143.15 ▼1.95186.23 ▼11.79

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 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: list, todo, website todo, widget, to-do...

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

"Dashboard To-Do List" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Main file name: Name the main plugin file the same 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 | An overview of files in this plugin; executable files are not allowed
Everything looks great! 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

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in 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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin