Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.50ms] Passed 4 tests
An overview of server-side resources used by Belocalendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.02 ▼6.45 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.99 ▼8.19 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 52.04 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.32 ▼1.32 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.96 ▼2.05 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_belocalendar |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
jal_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Belocalendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲78 | 13.24 ▼1.38 | 1.97 ▲0.23 | 45.56 ▲0.33 |
Dashboard /wp-admin | 2,235 ▲32 | 5.79 ▼0.06 | 107.63 ▼11.16 | 38.44 ▼7.29 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.06 ▲0.07 | 40.67 ▲2.05 | 34.75 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,543 ▲12 | 23.20 ▼0.28 | 676.69 ▼11.96 | 66.26 ▲1.74 |
Media Library /wp-admin/upload.php | 1,420 ▲26 | 4.20 ▼0.21 | 100.11 ▼5.74 | 45.04 ▲3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 failed, leaving 1 table in the database
- wp_belocalendar
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- jal_db_version
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Belocalendar_Public' not found in wp-content/plugins/belocalendar/public/partials/belocalendar-public-display.php:22
- > PHP Fatal error
Uncaught Error: Class 'Belocalendar_Admin' not found in wp-content/plugins/belocalendar/admin/partials/belocalendar-admin-display.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== belocalendar ===
)
belocalendar/belocalendar.php Passed 13 tests
"Belocalendar" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
24 characters long description:
A simple events calendar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin602 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 106 | 231 | 467 |
PO File | 1 | 29 | 29 | 75 |
CSS | 2 | 10 | 36 | 48 |
JavaScript | 2 | 4 | 36 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 1.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin