84% mejorcluster

Code Review | El mejor Cluster

WordPress plugin El mejor Cluster scored 84% from 54 tests.

About plugin

  • Plugin page: mejorcluster
  • Plugin version: 1.1.12
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Dec 15, 2019
  • Latest release: Mar 11, 2021
  • Number of updates: 17
  • Update frequency: every 26.9 days
  • Top authors: derethor (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

500+ active / 4,616 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.15MB] [CPU: ▲0.55ms] Passed 4 tests

Server-side resources used by El mejor Cluster
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1341.15 ▲2.79
Dashboard /wp-admin3.45 ▲0.1444.59 ▼4.87
Posts /wp-admin/edit.php3.56 ▲0.2048.33 ▲3.92
Add New Post /wp-admin/post-new.php6.05 ▲0.1695.44 ▲0.35
Media Library /wp-admin/upload.php3.37 ▲0.1437.59 ▲3.91
El mejor cluster /wp-admin/options-general.php?page=mejorcluster3.3435.08

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for El mejor Cluster
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲7513.22 ▼1.002.06 ▲0.3843.56 ▲2.26
Dashboard /wp-admin2,217 ▲354.88 ▼0.9398.26 ▼12.6740.00 ▼1.11
Posts /wp-admin/edit.php2,097 ▲81.99 ▼0.0440.30 ▲2.7535.70 ▲3.11
Add New Post /wp-admin/post-new.php6,497 ▲4,97420.41 ▼2.65886.03 ▲239.4461.82 ▲10.47
Media Library /wp-admin/upload.php1,393 ▲24.19 ▼0.0194.85 ▲0.5242.31 ▼5.32
El mejor cluster /wp-admin/options-general.php?page=mejorcluster9452.0322.8026.54

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/mejorcluster/admin/partials/mejorcluster-admin-display.php
    • > /wp-content/plugins/mejorcluster/public/partials/mejorcluster-public-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 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
3 plugin tags: cluster, related posts, seo

mejorcluster/mejorcluster.php Passed 13 tests

The entry point to "El mejor Cluster" version 1.1.12 is a PHP file that has certain tags in its header comment area
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin844 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP12215545695
Sass123077
CSS40966
JavaScript24546

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity10.71
▷ Minimum class complexity1.00
▷ Maximum class complexity41.00
Average method complexity2.31
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods52
▷ Static methods23.85%
▷ Public methods4484.62%
▷ Protected methods00.00%
▷ Private methods815.38%
Functions6
▷ Named functions6100.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