Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.78ms] Passed 4 tests
Analyzing server-side resources used by Ricerca vacanze in barca
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 46.83 ▲0.86 |
Dashboard /wp-admin | 3.33 ▼0.02 | 55.78 ▼11.28 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 54.02 ▼1.13 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.46 ▼19.56 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 40.30 ▲2.87 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_wpb_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Ricerca vacanze in barca
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲139 | 14.09 ▼0.16 | 18.23 ▲16.32 | 91.57 ▲51.44 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▼0.07 | 85.77 ▼19.09 | 40.53 ▲0.18 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.01 ▼0.00 | 40.68 ▲1.95 | 36.25 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.33 ▲0.22 | 611.73 ▼98.66 | 56.21 ▲3.49 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.01 | 103.50 ▼7.38 | 44.60 ▼4.47 |
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 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_wpb_widget
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ricerca-barcheyachtit/research_by.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== ricerca-barcheyachtit ===
)
ricerca-barcheyachtit/research_by.php 92% from 13 tests
Analyzing the main PHP file in "Ricerca vacanze in barca" version 1.8
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ricerca-barcheyachtit.php" instead of "research_by.php")
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
Good job! No executable or dangerous file extensions detected483 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 34 | 12 | 236 |
JavaScript | 4 | 19 | 15 | 142 |
PHP | 1 | 19 | 24 | 105 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_quanti.png | 1.76KB | 0.73KB | ▼ 58.79% |
images/icon_quando.png | 1.58KB | 0.60KB | ▼ 62.00% |
images/icon_barca.png | 1.59KB | 0.59KB | ▼ 63.11% |
images/icon_dove.png | 1.93KB | 0.79KB | ▼ 58.89% |