90% mi13-comment-user-edit

Code Review | mi13 comment user edit

WordPress plugin mi13 comment user edit scored90%from 54 tests.

About plugin

  • Plugin page: mi13-comment-user...
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3.2
  • WordPress version: 6.3.1
  • First release: Dec 2, 2022
  • Latest release: Nov 5, 2023
  • Number of updates: 8
  • Update frequency: every 42.3 days
  • Top authors: mi13 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /204 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

This is a short check of server-side resources used by mi13 comment user edit
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0239.07 ▼0.84
Dashboard /wp-admin3.32 ▼0.0248.87 ▼8.84
Posts /wp-admin/edit.php3.38 ▲0.0246.41 ▲1.38
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.27 ▼12.51
Media Library /wp-admin/upload.php3.25 ▲0.0230.81 ▼2.43
mi13 comment user edit /wp-admin/options-general.php?page=mi13_comment_user_edit3.2431.81

Server storage [IO: ▲0.02MB] [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: 5 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
mi13_comment_user_edit
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

mi13 comment user edit: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲3214.34 ▼0.031.85 ▲0.0746.11 ▲1.02
Dashboard /wp-admin2,196 ▲195.58 ▼0.0886.07 ▼8.1743.61 ▲2.96
Posts /wp-admin/edit.php2,104 ▲42.01 ▼0.0835.56 ▲0.7333.73 ▼6.49
Add New Post /wp-admin/post-new.php1,529 ▼723.22 ▼1.86664.09 ▲22.1061.94 ▼1.74
Media Library /wp-admin/upload.php1,401 ▲14.20 ▼0.0099.08 ▼2.7642.55 ▼1.89
mi13 comment user edit /wp-admin/options-general.php?page=mi13_comment_user_edit9201.9923.8428.12

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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • 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 no errors were found, this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (Settings Screen)
Please take inspiration from this readme.txt

mi13-comment-user-edit/mi13-comment-user-edit.php Passed 13 tests

The entry point to "mi13 comment user edit" version 1.5 is a PHP file that has certain tags in its header comment area
62 characters long description:
This plugin allows guests to edit their comments on your site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected326 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1209251
PO File1161763
JavaScript10012

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.28
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
No PNG files were detected