Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.92ms] Passed 4 tests
A check of server-side resources used by Smart Agenda - Prise de rendez-vous en ligne
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.98 ▼1.35 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.76 ▼9.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.25 ▼1.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 77.80 ▼15.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.14 ▲1.80 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Smart Agenda - Prise de rendez-vous en ligne
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 14.40 ▲0.06 | 2.09 ▲0.37 | 44.01 ▼0.59 |
Dashboard /wp-admin | 2,227 ▲50 | 5.73 ▲0.10 | 88.02 ▼2.65 | 39.98 ▼1.93 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.27 ▲0.30 | 40.98 ▲1.17 | 35.79 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.44 ▲0.36 | 711.27 ▲119.04 | 35.96 ▼15.45 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.36 ▲0.20 | 98.30 ▼6.42 | 45.05 ▲1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-agenda-prise-de-rendez-vous-en-ligne/smart-agenda.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
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
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
smart-agenda-prise-de-rendez-vous-en-ligne/smart-agenda.php 85% from 13 tests
The entry point to "Smart Agenda - Prise de rendez-vous en ligne" version 4.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("smart-agenda-prise-de-rendez-vous-en-ligne.php" instead of "smart-agenda.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 detected1,118 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 159 | 73 | 744 |
CSS | 1 | 55 | 0 | 260 |
SVG | 1 | 0 | 1 | 82 |
PO File | 1 | 5 | 7 | 32 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
6 PNG files occupy 0.19MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/parametres-bouton-smartagenda-zoom.png | 53.79KB | 18.64KB | ▼ 65.35% |
img/plugin-wordpress.png | 30.22KB | 10.72KB | ▼ 64.51% |
img/parametres-bouton-smartagenda.png | 46.37KB | 18.62KB | ▼ 59.86% |
img/synchronisation-google-agenda.png | 54.67KB | 19.67KB | ▼ 64.02% |
img/logo-smartagenda.png | 3.62KB | 2.51KB | ▼ 30.51% |