84% racar-message-me

Code Review | RaCar Message Me

WordPress plugin RaCar Message Me scored84%from 54 tests.

About plugin

  • Plugin page: racar-message-me
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.8-6.3.1
  • WordPress version: 6.3.1
  • First release: May 14, 2023
  • Latest release: Sep 23, 2023
  • Number of updates: 5
  • Update frequency: every 26.8 days
  • Top authors: rafacarvalhido (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /145 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
Install script ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▲0.32ms] Passed 4 tests

A check of server-side resources used by RaCar Message Me
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.98 ▼0.41
Dashboard /wp-admin3.42 ▲0.1251.09 ▲2.71
Posts /wp-admin/edit.php3.54 ▲0.1849.11 ▼3.96
Add New Post /wp-admin/post-new.php6.00 ▲0.1296.70 ▲5.04
Media Library /wp-admin/upload.php3.35 ▲0.1238.96 ▲2.95

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for RaCar Message Me
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,940 ▲17913.45 ▼0.908.82 ▲7.2543.99 ▲4.19
Dashboard /wp-admin2,218 ▲415.59 ▼0.0187.05 ▼6.7540.23 ▲0.93
Posts /wp-admin/edit.php2,123 ▲232.00 ▲0.0134.88 ▼5.8631.90 ▼9.02
Add New Post /wp-admin/post-new.php1,545 ▲1922.94 ▼0.16657.27 ▼2.2651.78 ▼1.33
Media Library /wp-admin/upload.php1,423 ▲264.24 ▲0.03112.61 ▲8.0547.13 ▲6.65
Message Me /wp-admin/racar-admin-page.php?page=rmm-config260.420.1014.28

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
No output text or server-side errors detected on direct access of PHP files

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/racar-admin-page.php?page=rmm-config
    • > Network (severe)
    wp-admin/racar-admin-page.php?page=rmm-config - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
10 plugin tags: inbox, whatsapp, skype, dm, messenger...

racar-message-me/racar-message-me.php 92% from 13 tests

The main PHP file in "RaCar Message Me" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 245 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,081 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP7165172710
PO File27682208
CSS3814153
JavaScript22110

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity14.25
▷ Minimum class complexity1.00
▷ Maximum class complexity29.00
Average method complexity2.39
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods38
▷ Static methods1334.21%
▷ Public methods3797.37%
▷ Protected methods00.00%
▷ Private methods12.63%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
There are no PNG files in this plugin