90% last-post-edited-author

Code Review | Last Post Edited Author

WordPress plugin Last Post Edited Author scored 90% from 54 tests.

About plugin

  • Plugin page: last-post-edited-...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.0
  • WordPress version: 6.3.1
  • First release: Jul 10, 2014
  • Latest release: Sep 14, 2014
  • Number of updates: 5
  • Update frequency: every 13.2 days
  • Top authors: themattroyal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,063 total downloads

Benchmarks

Plugin footprint 83% from 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: ▲1.78ms] Passed 4 tests

This is a short check of server-side resources used by Last Post Edited Author
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0144.89 ▼4.83
Dashboard /wp-admin3.31 ▲0.0160.68 ▲7.89
Posts /wp-admin/edit.php3.36 ▲0.0154.57 ▼0.76
Add New Post /wp-admin/post-new.php5.89 ▲0.01113.22 ▲18.00
Media Library /wp-admin/upload.php3.23 ▲0.0143.18 ▲4.82

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

How much does this plugin use your filesystem and database?
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_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Last Post Edited Author
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲1413.16 ▼1.621.60 ▼0.5842.88 ▼0.73
Dashboard /wp-admin2,209 ▼04.82 ▼1.0999.94 ▼2.4239.27 ▼5.03
Posts /wp-admin/edit.php2,104 ▲152.12 ▲0.0935.18 ▼4.1832.98 ▼4.01
Add New Post /wp-admin/post-new.php1,517 ▼1717.55 ▼5.64607.89 ▼133.2459.62 ▲7.75
Media Library /wp-admin/upload.php1,391 ▲34.21 ▼0.0697.44 ▼2.5946.42 ▲4.50

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

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
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: dashboard colomn, post colomn, last edit, last author, page colomn...

last-post-edited-author/last-post-edited-author.php 92% from 13 tests

Analyzing the main PHP file in "Last Post Edited Author" version 1.0.0
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 150 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin44 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2192939
Markdown1305

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions4
▷ Named functions4100.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
There were not PNG files found in your plugin