90% jonradio-remember-me

Code Review | InstallActivateGo.com Remember Me

WordPress plugin InstallActivateGo.com Remember Me scored 90% from 54 tests.

About plugin

  • Plugin page: jonradio-remember-me
  • Plugin version: 3.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Oct 15, 2013
  • Latest release: Sep 12, 2023
  • Number of updates: 43
  • Update frequency: every 84.2 days
  • Top authors: adiant (62.79%)dgewirtz (39.53%)

Code review

54 tests

User reviews

3 reviews

Install metrics

400+ active / 7,702 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.69ms] Passed 4 tests

An overview of server-side resources used by InstallActivateGo.com Remember Me
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.47 ▼1.77
Dashboard /wp-admin3.35 ▲0.0545.85 ▼2.32
Posts /wp-admin/edit.php3.41 ▲0.0549.26 ▲2.04
Add New Post /wp-admin/post-new.php5.93 ▲0.0583.40 ▼20.70
Media Library /wp-admin/upload.php3.28 ▲0.0535.54 ▲3.65

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options
can_compress_scripts
jr_rm_settings
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts
jr_rm_internal_settings
widget_theysaidso_widget

Browser metrics Passed 4 tests

InstallActivateGo.com Remember Me: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲8914.46 ▲0.091.63 ▼0.1939.34 ▼9.15
Dashboard /wp-admin2,219 ▲314.88 ▲0.00100.58 ▼6.0738.13 ▼4.07
Posts /wp-admin/edit.php2,108 ▲192.00 ▼0.0034.55 ▼6.5030.34 ▼4.68
Add New Post /wp-admin/post-new.php1,541 ▲2823.10 ▲5.68656.42 ▲41.9955.15 ▼6.44
Media Library /wp-admin/upload.php1,404 ▲164.21 ▼0.0196.00 ▼7.4344.09 ▲0.10

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 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
9 plugin tags: remember, auth, login, cookies, authentication...

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

The primary PHP file in "InstallActivateGo.com Remember Me" version 3.0.2 is used by WordPress to initiate all plugin functionality
115 characters long description:
Set default to Remember Me on WordPress Login Form to avoid re-login after browser close. Without using JavaScript.

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 plugin449 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP354189449

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
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%
Functions15
▷ Named functions15100.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 are no PNG files in this plugin