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.62MB] [CPU: ▼0.22ms] Passed 4 tests
This is a short check of server-side resources used by iCalendrier
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 40.08 ▲1.07 |
Dashboard /wp-admin | 3.93 ▲0.62 | 46.95 ▼5.29 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 49.22 ▲0.54 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.62 | 96.34 ▲8.59 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 37.77 ▲2.79 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_icalendrier_widget |
Browser metrics Passed 4 tests
A check of browser resources used by iCalendrier
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.26 ▼0.11 | 1.53 ▲0.02 | 38.17 ▼3.89 |
Dashboard /wp-admin | 2,200 ▲29 | 5.62 ▲0.02 | 89.79 ▼11.26 | 40.95 ▼4.60 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 1.99 ▼0.04 | 39.47 ▲2.17 | 37.16 ▲4.21 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 18.44 ▼4.55 | 624.08 ▼41.27 | 90.17 ▲31.56 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.20 ▼0.01 | 95.18 ▼4.25 | 42.12 ▼1.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_icalendrier_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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
Good news, no errors were detected
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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/icalendrier/icalendrier-widget.php
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: ephemeride, calendrier, calendario, kalender, calendar
icalendrier/icalendrier-widget.php 92% from 13 tests
The main PHP script in "iCalendrier" version 1.80 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("icalendrier.php" instead of "icalendrier-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin4,485 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 199 | 152 | 3,788 |
PO File | 9 | 108 | 0 | 353 |
CSS | 3 | 56 | 30 | 344 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 26.75 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 78.38% |
▷ Protected methods | 1 | 2.70% |
▷ Private methods | 7 | 18.92% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
There were not PNG files found in your plugin