79% wp-dashboard-eathim

Code Review | WP Dashboard Eathim

WordPress plugin WP Dashboard Eathim scored79%from 54 tests.

About plugin

  • Plugin page: wp-dashboard-eathim
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.0
  • WordPress version: 6.3.1
  • First release: Dec 17, 2019
  • Latest release: Jun 20, 2022
  • Number of updates: 9
  • Update frequency: every 101.8 days
  • Top authors: rawshan008 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,595 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.23ms] Passed 4 tests

A check of server-side resources used by WP Dashboard Eathim
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0433.11 ▼6.61
Dashboard /wp-admin3.34 ▲0.0446.74 ▼6.79
Posts /wp-admin/edit.php3.39 ▲0.0346.01 ▼4.76
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.18 ▼2.74
Media Library /wp-admin/upload.php3.26 ▲0.0333.89 ▲0.29

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: 1 new table, 6 new options
New tables
wp_wpde_todolist
New WordPress options
widget_recent-comments
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Dashboard Eathim
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,924 ▲17813.68 ▼0.901.69 ▲0.1029.06 ▼14.33
Dashboard /wp-admin2,337 ▲1495.91 ▲0.0096.81 ▼12.4976.95 ▲33.34
Posts /wp-admin/edit.php2,091 ▼12.04 ▲0.0034.13 ▼9.5833.41 ▼3.70
Add New Post /wp-admin/post-new.php1,539 ▲1918.17 ▼4.97613.41 ▼18.4955.95 ▲0.18
Media Library /wp-admin/upload.php1,393 ▲54.29 ▲0.0996.93 ▼6.1244.84 ▼2.44

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 1 table in the database
    • wp_wpde_todolist
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 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 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: user notes, list, use list, widget, notes...

wp-dashboard-eathim/wp-dashboard-eathim.php 85% from 13 tests

The main file in "WP Dashboard Eathim" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected188 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP31829131
CSS19657

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.13
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%
Functions10
▷ Named functions880.00%
▷ Anonymous functions220.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG images were found in this plugin