90% edit-registration-date

Code Review | Edit Registration Date

WordPress plugin Edit Registration Date scored90%from 54 tests.

About plugin

  • Plugin page: edit-registration...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Apr 14, 2022
  • Latest release: Nov 30, 2023
  • Number of updates: 6
  • Update frequency: every 99.2 days
  • Top authors: tylerthedude (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /748 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.77ms] Passed 4 tests

Server-side resources used by Edit Registration Date
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.19 ▼6.10
Dashboard /wp-admin3.33 ▲0.0343.88 ▼3.44
Posts /wp-admin/edit.php3.39 ▲0.0345.96 ▼4.77
Add New Post /wp-admin/post-new.php5.92 ▲0.0387.55 ▼8.75
Media Library /wp-admin/upload.php3.26 ▲0.0336.16 ▲3.54

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Edit Registration Date
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5314.67 ▲0.291.84 ▼0.0636.32 ▼8.56
Dashboard /wp-admin2,189 ▲215.60 ▲0.0291.76 ▼9.5142.48 ▼2.88
Posts /wp-admin/edit.php2,100 ▼01.94 ▼0.0739.85 ▲0.1135.92 ▼1.33
Add New Post /wp-admin/post-new.php1,526 ▼023.19 ▲0.18675.39 ▲56.5556.86 ▲4.12
Media Library /wp-admin/upload.php1,403 ▼04.21 ▲0.0397.72 ▼6.1442.46 ▼2.02

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

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
The smoke test was a success, however most plugin functionality was not tested

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
Looking good! No server-side errors or output on direct access of PHP files

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 Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: edit registration date, registration date, edit date

edit-registration-date/edit-registration-date.php Passed 13 tests

The main file in "Edit Registration Date" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
90 characters long description:
Very simple plugin that allows you to easily edit a user's registration date in WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin125 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP32877117
JavaScript2007
CSS1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.62
Average class complexity19.00
▷ Minimum class complexity19.00
▷ Maximum class complexity19.00
Average method complexity3.57
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods7
▷ Static methods114.29%
▷ Public methods571.43%
▷ Protected methods00.00%
▷ Private methods228.57%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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 were not PNG files found in your plugin