89% lebianch-lista-tus-urls

Code Review | Lebianch Lista Urls

WordPress plugin Lebianch Lista Urls scored 89% from 54 tests.

About plugin

  • Plugin page: lebianch-lista-tu...
  • Plugin version: 1.0.5
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.5.3
  • WordPress version: 6.3.1
  • First release: Jan 10, 2020
  • Latest release: Jan 25, 2021
  • Number of updates: 33
  • Update frequency: every 11.6 days
  • Top authors: sebamar88 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 617 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼1.43ms] Passed 4 tests

Analyzing server-side resources used by Lebianch Lista Urls
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.11 ▼4.41
Dashboard /wp-admin3.31 ▲0.0047.00 ▲0.55
Posts /wp-admin/edit.php3.36 ▲0.0050.52 ▲1.98
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.12 ▼3.83
Media Library /wp-admin/upload.php3.23 ▲0.0038.30 ▲4.11

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Lebianch Lista Urls
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲1213.29 ▼1.551.57 ▼0.3043.64 ▼1.53
Dashboard /wp-admin2,215 ▲95.83 ▲0.95102.29 ▼4.9640.58 ▼1.55
Posts /wp-admin/edit.php2,101 ▲122.03 ▼0.0334.82 ▼5.6338.24 ▲3.95
Add New Post /wp-admin/post-new.php1,544 ▲223.17 ▲4.85637.23 ▲9.1360.82 ▲6.79
Media Library /wp-admin/upload.php1,397 ▲64.20 ▼0.0793.44 ▼9.8943.15 ▼2.27

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: google search console, urls, schema, sitemap, seo

lebianch-lista-tus-urls/lebianch-lista-urls.php 85% from 13 tests

"Lebianch Lista Urls" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("lebianch-lista-tus-urls.php" instead of "lebianch-lista-urls.php")

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
Success! There were no dangerous files found in this plugin89 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1341589

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.42
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin