84% exclusivo-entrada-complemento

Code Review | Exclusivo entrada plugin

WordPress plugin Exclusivo entrada plugin scored84%from 54 tests.

About plugin

  • Plugin page: exclusivo-entrada...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.9
  • WordPress version: 6.3.1
  • First release: Mar 20, 2018
  • Latest release: Mar 28, 2018
  • Number of updates: 8
  • Update frequency: every 1.0 days
  • Top authors: Sasousuke (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /711 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.47ms] Passed 4 tests

This is a short check of server-side resources used by Exclusivo entrada plugin
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.59 ▼5.90
Dashboard /wp-admin3.32 ▲0.0250.78 ▼2.07
Posts /wp-admin/edit.php3.37 ▲0.0149.50 ▼2.26
Add New Post /wp-admin/post-new.php5.90 ▲0.0188.49 ▼7.64
Media Library /wp-admin/upload.php3.24 ▲0.0140.27 ▼1.21

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Exclusivo entrada plugin
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲1914.27 ▼0.332.22 ▼0.3944.26 ▼1.74
Dashboard /wp-admin2,211 ▲375.61 ▲0.0893.57 ▼10.4639.41 ▼8.25
Posts /wp-admin/edit.php2,113 ▲132.01 ▼0.0239.81 ▲2.5834.55 ▼3.77
Add New Post /wp-admin/post-new.php1,548 ▲2018.38 ▼4.76639.57 ▼1.0270.49 ▲22.87
Media Library /wp-admin/upload.php1,407 ▲74.16 ▼0.0698.16 ▼7.0044.27 ▼1.76

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/exclusivo-entrada-complemento/exclusivo-entrada-plugin.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Screenshots: Screenshot #1 (`/assets/screenshot-1.png`) image missing
The official readme.txt is a good inspiration

exclusivo-entrada-complemento/exclusivo-entrada-plugin.php 92% from 13 tests

This is the main PHP file of "Exclusivo entrada plugin" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("exclusivo-entrada-complemento.php" instead of "exclusivo-entrada-plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected80 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP173280

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.29
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%
Functions4
▷ Named functions4100.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