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.07MB] [CPU: ▼2.69ms] Passed 4 tests
Analyzing server-side resources used by Offerte Internet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 40.47 ▼0.49 |
Dashboard /wp-admin | 3.38 ▲0.07 | 48.03 ▼4.24 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.79 ▲0.98 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.73 ▼4.79 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.91 ▼1.25 |
Server storage [IO: ▲0.02MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_offerte_internet |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
offerte_internet_data |
db_upgraded |
Browser metrics Passed 4 tests
Offerte Internet: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲5 | 14.24 ▼0.12 | 1.63 ▼0.83 | 40.28 ▼2.93 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▼0.02 | 89.10 ▲0.87 | 41.84 ▼1.28 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.95 ▼0.04 | 41.11 ▼1.72 | 37.53 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.00 ▼0.23 | 669.97 ▼7.33 | 60.18 ▲4.54 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.04 | 105.67 ▼10.18 | 47.02 ▼0.02 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_offerte_internet
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 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 0% 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 output text when accessed directly:
- > /wp-content/plugins/offerte-internet/offerte-internet.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/offerte-internet/includes/widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: wordpress api, offerte internet, informazioni adsl
offerte-internet/offerte-internet.php Passed 13 tests
"Offerte Internet" version 2.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
120 characters long description:
Aggiunge un widget che mostra le migliori offerte internet per l'adsl e la fibra in Italia prese da OfferteInternet.net.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin202 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 21 | 27 | 130 |
CSS | 1 | 2 | 2 | 72 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
offerte-internet-logo.png | 2.98KB | 3.00KB | 0.00% |