Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.75ms] Passed 4 tests
This is a short check of server-side resources used by WP Better Calendar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.74 ▼1.30 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.29 ▼2.71 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.35 ▼4.24 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.73 ▼2.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.00 ▲5.17 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_wp_better_calendar |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WP Better Calendar: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲123 | 13.42 ▼1.18 | 10.10 ▲8.27 | 43.81 ▲0.24 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▼0.01 | 98.64 ▲7.82 | 42.87 ▲1.53 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.04 ▲0.02 | 35.30 ▼4.31 | 33.18 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,530 ▼7 | 22.82 ▲4.44 | 610.36 ▼22.97 | 51.09 ▼21.69 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.12 ▼0.06 | 92.88 ▼11.04 | 42.58 ▼2.59 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_wp_better_calendar
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-better-calendar/includes/functions.php
- > /wp-content/plugins/wp-better-calendar/public/partials/wp-better-calendar-public-display.php
- > /wp-content/plugins/wp-better-calendar/admin/partials/wp-better-calendar-admin-display.php
- > /wp-content/plugins/wp-better-calendar/includes/class-wp-better-calendar-widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Screenshots: Screenshot #1 (No Information) image required
wp-better-calendar/wp-better-calendar.php Passed 13 tests
This is the main PHP file of "WP Better Calendar" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
37 characters long description:
A better calendar for sidebar widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected863 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 141 | 531 | 529 |
CSS | 2 | 33 | 6 | 189 |
JavaScript | 2 | 3 | 31 | 145 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 13 | |
▷ Named functions | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin