Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/fidelit-softwarefidelitycardit/common.php+25
__autoload() is deprecated, use spl_autoload_register() instead
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.45ms] Passed 4 tests
Analyzing server-side resources used by FidElìt - Software CRM per la fidelizzazione della clientela
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.25 ▲0.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.04 ▲2.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.07 ▼1.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.46 ▼3.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.01 ▲3.52 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FidElìt - Software CRM per la fidelizzazione della clientela
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.24 ▼1.19 | 1.63 ▼0.44 | 39.78 ▼10.13 |
Dashboard /wp-admin | 2,206 ▲15 | 5.81 ▲0.92 | 99.81 ▼6.94 | 38.99 ▼2.26 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.10 ▲0.05 | 39.01 ▼2.70 | 35.29 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,533 ▲3 | 23.07 ▲0.31 | 629.35 ▲8.59 | 51.28 ▲0.34 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.23 ▼0.10 | 97.54 ▼3.65 | 43.17 ▲0.34 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 fix the following items
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/fidelit-softwarefidelitycardit/json/registrazione.php
- > /wp-content/plugins/fidelit-softwarefidelitycardit/json/modifica_profilo.php
- > /wp-content/plugins/fidelit-softwarefidelitycardit/json/recupero_password.php
- > /wp-content/plugins/fidelit-softwarefidelitycardit/json/login.php
- > /wp-content/plugins/fidelit-softwarefidelitycardit/shortcodes/pulsante.php
- > /wp-content/plugins/fidelit-softwarefidelitycardit/admin/content.php
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fidelit-softwarefidelitycardit/shortcodes/modifica_profilo.php on line 134
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/fidelit-softwarefidelitycardit/admin/content.php:141
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fidelit-softwarefidelitycardit/common.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/fidelit-softwarefidelitycardit/install/uninstall.php:3
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fidelit-softwarefidelitycardit/shortcodes/situazione_card.php on line 69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/fidelit-softwarefidelitycardit/install/install.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fidelit-softwarefidelitycardit/common.php:6
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fidelit-softwarefidelitycardit/admin/init.php on line 34
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fidelit-softwarefidelitycardit/shortcodes/ultimi_movimenti_card.php on line 77
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fidelit-softwarefidelitycardit/shortcodes/registrazione.php on line 197
- > PHP Parse error
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 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
fidelit-softwarefidelitycardit/fidelit.php 92% from 13 tests
The entry point to "FidElìt - Software CRM per la fidelizzazione della clientela" version 1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fidelit-softwarefidelitycardit.php" instead of "fidelit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected3,021 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 556 | 1,271 | 2,913 |
CSS | 1 | 15 | 0 | 108 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 58.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 1 | 0.70% |
▷ Public methods | 133 | 93.01% |
▷ Protected methods | 8 | 5.59% |
▷ Private methods | 2 | 1.40% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 7 | |
▷ Global constants | 2 | 28.57% |
▷ Class constants | 5 | 71.43% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/favicon-16.png | 1.66KB | 0.84KB | ▼ 49.06% |
admin/images/favicon-32.png | 3.01KB | 1.58KB | ▼ 47.44% |
admin/images/favicon-blu-16.png | 0.24KB | 0.25KB | 0.00% |
admin/images/favicon-bianca-16.png | 0.24KB | 0.25KB | 0.00% |
images/favicon-bianca-16.png | 0.24KB | 0.25KB | 0.00% |