84% rememberall

Code Review | Rememberall

WordPress plugin Rememberall scored84%from 54 tests.

About plugin

  • Plugin page: rememberall
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7-6.1.1
  • WordPress version: 6.3.1
  • First release: Sep 15, 2022
  • Latest release: Feb 20, 2023
  • Number of updates: 10
  • Update frequency: every 15.8 days
  • Top authors: newswp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /529 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

A check of server-side resources used by Rememberall
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0239.95 ▼6.79
Dashboard /wp-admin3.32 ▲0.0249.01 ▼5.66
Posts /wp-admin/edit.php3.37 ▲0.0248.71 ▼3.81
Add New Post /wp-admin/post-new.php5.90 ▲0.0287.38 ▼25.88
Media Library /wp-admin/upload.php3.25 ▲0.0240.52 ▲7.71

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Rememberall
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.011.85 ▲0.0943.91 ▼2.00
Dashboard /wp-admin2,195 ▲185.57 ▲0.0193.09 ▼8.4341.62 ▼3.47
Posts /wp-admin/edit.php2,100 ▼02.15 ▲0.1138.99 ▲1.1134.64 ▼5.66
Add New Post /wp-admin/post-new.php1,528 ▲323.03 ▼0.57672.74 ▲19.2867.56 ▲9.88
Media Library /wp-admin/upload.php1,397 ▼04.19 ▼0.0399.76 ▼15.2945.04 ▼0.31

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/rememberall/admin/partials/rememberall-admin-display.php

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

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: theme update, update, plugin update, security, notifications...

rememberall/rememberall.php Passed 13 tests

The entry point to "Rememberall" version 1.0.2 is a PHP file that has certain tags in its header comment area
44 characters long description:
Daily email report if updates are available.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected244 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP10109426181
PO File2141460
JavaScript12273
CSS1040

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity2.67
▷ Minimum class complexity1.00
▷ Maximum class complexity7.00
Average method complexity1.53
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods19
▷ Static methods210.53%
▷ Public methods1473.68%
▷ Protected methods00.00%
▷ Private methods526.32%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
No PNG images were found in this plugin