Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.62ms] Passed 4 tests
A check of server-side resources used by UBICUAL
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.78 ▲1.10 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.94 ▼0.85 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 42.44 ▼4.50 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.13 ▼22.23 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.46 ▲2.14 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_ubicual |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for UBICUAL
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.11 | 1.74 ▼0.01 | 43.16 ▲1.16 |
Dashboard /wp-admin | 2,209 ▲20 | 5.91 ▲0.95 | 103.89 ▼5.55 | 42.07 ▼0.18 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.01 | 33.02 ▼7.83 | 34.77 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,533 ▼3 | 23.46 ▲0.33 | 674.75 ▲71.66 | 51.21 ▼0.48 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.05 | 103.94 ▲2.38 | 47.40 ▲3.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_ubicual
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ubicual/ubicual.php:12
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: marketing, landing pages, suscriptions
ubicual/ubicual.php Passed 13 tests
This is the main PHP file of "UBICUAL" version 2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
69 characters long description:
Este Plugin permite incrustar formularios de landing pages en su web.
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
No dangerous file extensions were detected298 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 26 | 192 |
JavaScript | 1 | 10 | 3 | 63 |
CSS | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.40MB with 0.24MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 84.78KB | 34.25KB | ▼ 59.61% |
assets/screenshot-1.png | 327.36KB | 130.01KB | ▼ 60.28% |