Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.42MB] [CPU: ▼5.69ms] Passed 4 tests
This is a short check of server-side resources used by WP Simple Calendar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 43.37 ▲2.35 |
Dashboard /wp-admin | 3.82 ▲0.47 | 58.57 ▼4.01 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 58.22 ▲7.02 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 91.66 ▼26.36 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 43.53 ▲5.27 |
Add New Event /wp-admin/post-new.php?post_type=wpscevents | 4.08 | 58.00 |
All Events /wp-admin/edit.php?post_type=wpscevents | 3.79 | 41.65 |
Locations /wp-admin/edit-tags.php?taxonomy=wpsclocation&post_type=wpscevents | 3.68 | 37.99 |
Categories /wp-admin/edit-tags.php?taxonomy=wpsccategory&post_type=wpscevents | 3.68 | 36.24 |
Server storage [IO: ▲2.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 342 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
recovery_mode_email_last_sent |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Simple Calendar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,975 ▲214 | 13.54 ▼0.73 | 10.92 ▲9.00 | 41.21 ▼1.27 |
Dashboard /wp-admin | 2,244 ▲64 | 5.63 ▲0.01 | 91.44 ▼4.54 | 40.40 ▼4.58 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 2.04 ▲0.03 | 41.23 ▲1.42 | 37.71 ▲1.89 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 22.97 ▼0.19 | 684.01 ▲32.31 | 52.30 ▲3.42 |
Media Library /wp-admin/upload.php | 1,446 ▲49 | 4.27 ▲0.11 | 109.71 ▲5.78 | 46.86 ▲1.77 |
Add New Event /wp-admin/post-new.php?post_type=wpscevents | 1,542 | 1.51 | 7.59 | 35.72 |
All Events /wp-admin/edit.php?post_type=wpscevents | 1,118 | 1.95 | 33.68 | 31.41 |
Locations /wp-admin/edit-tags.php?taxonomy=wpsclocation&post_type=wpscevents | 1,322 | 2.27 | 29.80 | 30.86 |
Categories /wp-admin/edit-tags.php?taxonomy=wpsccategory&post_type=wpscevents | 1,325 | 2.30 | 29.11 | 29.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- recovery_mode_email_last_sent
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=wpscevents
- > Compile error in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php+15
Declaration of CMB2_Type_Text_Datetime_Timestamp::render() must be compatible with CMB2_Type_Text::render($args = Array)
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 33× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function current_time() in wp-content/plugins/wp-simple-calendar/includes/grid-template.php:2
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-simple-calendar/includes/list-template.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-simple-calendar/includes/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: calendar
wp-simple-calendar/wp-simple-calendar.php 92% from 13 tests
"WP Simple Calendar" version 2.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "WordPress 3.0")
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
Everything looks great! No dangerous files found in this plugin40,949 lines of code in 194 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,731 | 16,338 | 29,151 |
PHP | 49 | 1,413 | 3,349 | 4,871 |
CSS | 14 | 1,031 | 1,056 | 4,567 |
JavaScript | 6 | 375 | 209 | 1,544 |
Markdown | 3 | 302 | 0 | 747 |
JSON | 3 | 0 | 0 | 69 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 14.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 4 | 7.14% |
▷ Concrete classes | 52 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 301 | |
▷ Static methods | 25 | 8.31% |
▷ Public methods | 264 | 87.71% |
▷ Protected methods | 34 | 11.30% |
▷ Private methods | 3 | 1.00% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.03MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
includes/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/js/colorbox/images/loading_background.png | 0.15KB | 0.15KB | ▼ 0.64% |