90% remember-me

Code Review | Remember Me

WordPress plugin Remember Me scored 90% from 54 tests.

About plugin

  • Plugin page: remember-me
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Sep 20, 2022
  • Latest release: Sep 20, 2022
  • Number of updates: 3
  • Update frequency: every 457.3 days
  • Top authors: JoeFusco (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 312 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.52ms] Passed 4 tests

Server-side resources used by Remember Me
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.86 ▼7.61
Dashboard /wp-admin3.31 ▲0.0147.65 ▼0.56
Posts /wp-admin/edit.php3.36 ▲0.0047.91 ▲3.89
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.31 ▼8.41
Media Library /wp-admin/upload.php3.23 ▲0.0034.08 ▼1.51

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Remember Me
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,955 ▲20913.21 ▼1.171.80 ▼0.3345.23 ▲1.44
Dashboard /wp-admin2,206 ▲184.85 ▼1.00108.41 ▼8.9241.26 ▼7.90
Posts /wp-admin/edit.php2,089 ▼02.00 ▲0.0136.43 ▼2.5332.68 ▼2.87
Add New Post /wp-admin/post-new.php1,535 ▲2123.03 ▲5.47589.76 ▼95.9152.79 ▲1.46
Media Library /wp-admin/upload.php1,388 ▲34.23 ▲0.0292.98 ▼12.5541.43 ▼0.24

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
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Requires at least: Invalid version format
You can look at the official readme.txt

remember-me/remember-me.php Passed 13 tests

The principal PHP file in "Remember Me" v. 1.0.1 is loaded by WordPress automatically on each request
111 characters long description:
Plays the chorus of Remember Me from Disney's Coco everytime you check Remember Me on the WordPress login page.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin49 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JSON10016
PHP142316
JavaScript13012
Markdown1405

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.17
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
Namespaces1
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

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin