94% admin-dashboard-last-edits

Code Review | Admin Dashboard Last Edits

WordPress plugin Admin Dashboard Last Edits scored 94% from 54 tests.

About plugin

  • Plugin page: admin-dashboard-l...
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.9
  • WordPress version: 5.9.2
  • First release: Feb 12, 2015
  • Latest release: Jan 6, 2022
  • Number of updates: 35
  • Update frequency: every 72.0 days
  • Top authors: wpdoc.de (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

800+ active / 4,449 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼294.58ms] Passed 4 tests

Server-side resources used by Admin Dashboard Last Edits
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0253.48 ▲3.67
Dashboard /wp-admin3.42 ▲0.0235.34 ▲2.83
Posts /wp-admin/edit.php3.65 ▲0.0138.08 ▲1.96
Add New Post /wp-admin/post-new.php6.89 ▼0.0891.77 ▼1,184.38
Media Library /wp-admin/upload.php3.30 ▲0.0126.27 ▲1.28

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is 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 /3,857 ▲10315.62 ▼0.065.52 ▼0.772.38 ▼0.32
Dashboard /wp-admin2,957 ▲966.15 ▲0.02115.87 ▼20.41169.08 ▲5.78
Posts /wp-admin/edit.php2,688 ▼63.24 ▲0.0063.55 ▲0.31140.79 ▼4.32
Add New Post /wp-admin/post-new.php1,711 ▼4120.97 ▼0.54439.38 ▲11.46163.23 ▲7.24
Media Library /wp-admin/upload.php1,698 ▼05.49 ▼0.03143.69 ▲7.71185.71 ▼2.91

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
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /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)
Everything seems fine on the user side


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Add images for these screenshots: #1 (Widget in english language), #2 (Widget in german language)
You can look at the official readme.txt

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

The entry point to "Admin Dashboard Last Edits" version 1.1.3 is a PHP file that has certain tags in its header comment area
It is important to 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 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected59 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic 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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
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%