89% ibamu

Code Review | Lawwwing | Textos legales web y Banner de cookies

WordPress plugin Lawwwing | Textos legales web y Banner de cookies scored89%from 54 tests.

About plugin

  • Plugin page: ibamu
  • Plugin version: 1.0.33
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4
  • WordPress version: 6.3.1
  • First release: Jul 27, 2021
  • Latest release: Nov 15, 2023
  • Number of updates: 36
  • Update frequency: every 23.4 days
  • Top authors: ibamu (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

100+ active /4,332 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.12MB] [CPU: ▼11.50ms] Passed 4 tests

Server-side resources used by Lawwwing | Textos legales web y Banner de cookies
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.88 ▼0.5917.35 ▼23.32
Dashboard /wp-admin3.35 ▲0.0445.46 ▼6.10
Posts /wp-admin/edit.php3.40 ▲0.0447.33 ▲1.57
Add New Post /wp-admin/post-new.php5.93 ▲0.0481.36 ▼16.63
Media Library /wp-admin/upload.php3.28 ▲0.0433.40 ▲0.04

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Lawwwing | Textos legales web y Banner de cookies
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,844 ▲8214.34 ▲0.022.05 ▲0.3838.51 ▼5.36
Dashboard /wp-admin2,223 ▲495.52 ▼0.0296.17 ▼7.6984.68 ▲41.36
Posts /wp-admin/edit.php2,128 ▲281.97 ▼0.0439.25 ▼0.8140.97 ▲5.80
Add New Post /wp-admin/post-new.php1,549 ▲1423.22 ▲4.99703.45 ▼11.4575.92 ▼2.54
Media Library /wp-admin/upload.php1,422 ▲224.19 ▼0.03103.03 ▲5.9079.58 ▲35.37

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% 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
Attributes that require attention:
  • Donate link: Please fix this invalid url: ""
You can take inspiration from this readme.txt

ibamu/ibamu.php 85% from 13 tests

The primary PHP file in "Lawwwing | Textos legales web y Banner de cookies" version 1.0.33 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
  • Description: Please don't use more than 140 characters for the plugin description (currently 155 characters long)

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
There were no executable files found in this plugin622 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
CSS2643374
PHP12849234
JavaScript10014

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions11
▷ Named functions872.73%
▷ Anonymous functions327.27%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin