Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▲1.49ms] Passed 4 tests
Server-side resources used by Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 44.44 ▲1.36 |
Dashboard /wp-admin | 3.79 ▲0.48 | 50.05 ▲3.19 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 55.32 ▲6.09 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 89.32 ▼3.02 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 39.58 ▲4.43 |
Manage Calendar /wp-admin/admin.php?page=calendar | 3.68 | 36.49 |
Manage Categories /wp-admin/admin.php?page=calendar-categories | 3.68 | 34.45 |
Calendar Options /wp-admin/admin.php?page=calendar-config | 3.67 | 36.34 |
Server storage [IO: ▲0.91MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 61 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_calendar |
wp_calendar_categories |
wp_calendar_config |
New WordPress options |
---|
widget_recent-posts |
calendar_version |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Calendar: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲126 | 14.80 ▲0.43 | 2.42 ▲0.53 | 43.36 ▲7.03 |
Dashboard /wp-admin | 2,250 ▲59 | 4.88 ▼0.98 | 102.91 ▼0.11 | 39.10 ▲0.74 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.01 ▼0.04 | 39.25 ▼5.46 | 36.83 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,552 ▲18 | 23.29 ▲0.23 | 691.08 ▲11.99 | 57.14 ▼1.17 |
Media Library /wp-admin/upload.php | 1,435 ▲50 | 4.27 ▲0.06 | 103.32 ▼2.51 | 48.40 ▼2.36 |
Manage Calendar /wp-admin/admin.php?page=calendar | 1,247 | 1.89 | 29.10 | 28.45 |
Manage Categories /wp-admin/admin.php?page=calendar-categories | 890 | 2.07 | 24.51 | 29.22 |
Calendar Options /wp-admin/admin.php?page=calendar-config | 1,118 | 2.05 | 23.12 | 28.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_calendar_config
- wp_calendar_categories
- wp_calendar
- This plugin does not fully uninstall, leaving 7 options in the database
- calendar_version
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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 need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Calendar being used on a blog page), #2 (Widgets showing in the sidebar), #3 (The event management screen of calendar), #4 (The category management screen of calendar), #5 (The options screen of Calendar)
calendar/calendar.php Passed 13 tests
"Calendar" version 1.3.14's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
104 characters long description:
This plugin allows you to display a calendar of all your events and appointments as a page on your site.
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
There were no executable files found in this plugin10,045 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 25 | 3,115 | 5,222 | 6,578 |
PHP | 2 | 212 | 248 | 2,775 |
JavaScript | 1 | 21 | 50 | 537 |
CSS | 1 | 0 | 0 | 155 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 55.98KB | 20.40KB | ▼ 63.57% |
screenshot-1.png | 22.49KB | 9.12KB | ▼ 59.46% |
screenshot-3.png | 58.66KB | 22.04KB | ▼ 62.42% |
screenshot-2.png | 6.73KB | 2.55KB | ▼ 62.07% |
screenshot-4.png | 29.97KB | 11.45KB | ▼ 61.80% |