Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲6.14ms] Passed 4 tests
A check of server-side resources used by L Events Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 47.53 ▲0.53 |
Dashboard /wp-admin | 3.42 ▲0.12 | 62.57 ▲9.33 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 64.11 ▲11.56 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 102.61 ▲3.13 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 51.82 ▲11.74 |
All L-Events /wp-admin/edit.php?post_type=l-event | 3.37 | 53.07 |
Settings /wp-admin/edit.php?post_type=l-event&page=lec-settings | 3.29 | 38.01 |
Event Category /wp-admin/edit-tags.php?taxonomy=event-category&post_type=l-event | 3.40 | 52.74 |
Add New /wp-admin/post-new.php?post_type=l-event | 3.52 | 55.52 |
Server storage [IO: ▲7.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
L Events Calendar: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,137 ▲376 | 15.88 ▲1.48 | 14.31 ▲12.16 | 43.52 ▼3.28 |
Dashboard /wp-admin | 2,428 ▲225 | 6.74 ▲0.86 | 131.47 ▲27.69 | 40.91 ▼5.94 |
Posts /wp-admin/edit.php | 2,337 ▲234 | 3.62 ▲1.59 | 53.82 ▲14.41 | 36.43 ▼1.17 |
Add New Post /wp-admin/post-new.php | 1,743 ▲211 | 22.58 ▼0.74 | 646.51 ▲2.19 | 36.11 ▼19.35 |
Media Library /wp-admin/upload.php | 1,480 ▲80 | 4.44 ▲0.22 | 96.60 ▼14.78 | 46.55 ▼2.31 |
All L-Events /wp-admin/edit.php?post_type=l-event | 1,321 | 3.63 | 61.46 | 31.58 |
Settings /wp-admin/edit.php?post_type=l-event&page=lec-settings | 1,107 | 3.36 | 55.73 | 28.37 |
Event Category /wp-admin/edit-tags.php?taxonomy=event-category&post_type=l-event | 1,517 | 3.65 | 43.68 | 29.74 |
Add New /wp-admin/post-new.php?post_type=l-event | 2,537 | 8.01 | 186.33 | 68.12 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=l-event&page=lec-settings
- > Notice in wp-content/plugins/l-events-calendar/core/option-page.php+52
Trying to access array offset on value of type bool
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=l-event
- > Warning in wp-content/plugins/l-events-calendar/core/l-events-custom-fields.php+113
A non-numeric value encountered
SRP 50% from 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
Please take a closer look at the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/l-events-calendar/core/l-events-custom-fields.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/l-events-calendar/core/option-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/l-events-calendar/core/shortcode.php:114
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/l-events-calendar/core/initial-post-type.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/l-events-calendar/core/calendar-api.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/l-events-calendar/core/custom-media-button.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Donate link: Please fix this invalid URI: "paypal.me/LTruong"
l-events-calendar/l-events-calendar.php Passed 13 tests
The primary PHP file in "L Events Calendar" version 1.0.1 is used by WordPress to initiate all plugin functionality
72 characters long description:
A beautiful responsive calendar. Manage events with ease and simplicity.
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
Good job! No executable or dangerous file extensions detected1,646 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 67 | 121 | 603 |
Sass | 2 | 6 | 19 | 564 |
JavaScript | 5 | 48 | 63 | 454 |
JSON | 1 | 0 | 0 | 11 |
Markdown | 1 | 7 | 0 | 11 |
CSS | 3 | 1 | 7 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/admin/images/ui-bg_glass_40_0078a3_1x400.png | 0.33KB | 0.16KB | ▼ 52.05% |
img/binder.png | 0.42KB | 0.43KB | 0.00% |
css/admin/images/ui-bg_glass_40_ffc73d_1x400.png | 0.31KB | 0.16KB | ▼ 49.37% |
css/admin/images/ui-bg_highlight-soft_80_eeeeee_1x100.png | 0.27KB | 0.13KB | ▼ 51.45% |
css/admin/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |