84% admin-dashboard-last-edits

Code Review | Admin Dashboard Last Edits

WordPress plugin Admin Dashboard Last Edits scored84%from 54 tests.

About plugin

  • Plugin page: admin-dashboard-l...
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.4
  • WordPress version: 6.3.1
  • First release: Feb 12, 2015
  • Latest release: Oct 17, 2023
  • Number of updates: 40
  • Update frequency: every 79.3 days
  • Top authors: wpdoc.de (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

1,000+ active /5,414 total downloads

Benchmarks

Plugin footprint 83% 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.00MB] [CPU: ▼15.89ms] Passed 4 tests

A check of server-side resources used by Admin Dashboard Last Edits
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0142.62 ▼0.63
Dashboard /wp-admin3.32 ▼0.0353.59 ▼15.62
Posts /wp-admin/edit.php3.37 ▲0.0148.18 ▼9.55
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.75 ▼37.77
Media Library /wp-admin/upload.php3.24 ▲0.0138.13 ▲1.94

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Admin Dashboard Last Edits
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲9914.21 ▼0.141.67 ▲0.0349.22 ▲7.96
Dashboard /wp-admin2,254 ▲745.57 ▼0.0690.86 ▲5.8840.07 ▼2.34
Posts /wp-admin/edit.php2,100 ▼31.94 ▼0.0634.21 ▼7.8032.58 ▼5.29
Add New Post /wp-admin/post-new.php1,526 ▼923.60 ▲5.27682.33 ▼8.2056.53 ▼26.22
Media Library /wp-admin/upload.php1,403 ▲34.17 ▼0.0396.78 ▼1.4144.54 ▼1.57

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/admin-dashboard-last-edits/admin-dashboard-last-edits.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Screenshots: Add images for these screenshots: #1 (Widget in english language), #2 (Widget in german language)
The official readme.txt might help

admin-dashboard-last-edits/admin-dashboard-last-edits.php 92% from 13 tests

The principal PHP file in "Admin Dashboard Last Edits" v. 1.1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected59 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
Markdown211031
PHP1112628

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
Functions2
▷ Named functions2100.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
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png16.19KB10.95KB▼ 32.39%
screenshot-1.png19.12KB13.58KB▼ 28.99%