89% recojo-por-otra-persona

Code Review | Recojo por otra persona

WordPress plugin Recojo por otra persona scored89%from 54 tests.

About plugin

  • Plugin page: recojo-por-otra-p...
  • Plugin version: 0.0.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.6-6.1.1
  • WordPress version: 6.3.1
  • First release: Jun 17, 2021
  • Latest release: Dec 6, 2022
  • Number of updates: 6
  • Update frequency: every 89.5 days
  • Top authors: renzotejada (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /633 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.06MB] [CPU: ▼3.54ms] Passed 4 tests

A check of server-side resources used by Recojo por otra persona
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0739.10 ▼4.14
Dashboard /wp-admin3.36 ▲0.0654.68 ▼2.21
Posts /wp-admin/edit.php3.42 ▲0.0650.23 ▲0.53
Add New Post /wp-admin/post-new.php5.95 ▲0.0690.14 ▼8.32
Media Library /wp-admin/upload.php3.29 ▲0.0641.09 ▲2.27

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Recojo por otra persona
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.29 ▼0.121.63 ▼0.0343.64 ▼3.05
Dashboard /wp-admin2,195 ▲155.56 ▼0.1198.26 ▼0.9541.95 ▼1.92
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0135.54 ▼1.9734.51 ▼6.98
Add New Post /wp-admin/post-new.php1,526 ▼023.11 ▼0.14668.12 ▲23.2846.67 ▼10.97
Media Library /wp-admin/upload.php1,403 ▲94.16 ▼0.0799.63 ▼5.1744.34 ▼1.64

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 90% 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
Attributes that require attention: The official readme.txt might help

recojo-por-otra-persona/recojo-por-otra-persona.php 85% from 13 tests

The main PHP script in "Recojo por otra persona" version 0.0.5 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Requires at least: Required version must match the one declared in readme.txt ("5.2" instead of "2.6")

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
Everything looks great! No dangerous files found in this plugin272 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP23725141
PO File2323496
JavaScript16035

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.60
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin