Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/multiple-ajax-calendar/multiple-ajax-calendar.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; MultipleAjaxCalendarWidget has a deprecated constructor
Server metrics [RAM: ▼1.82MB] [CPU: ▼54.66ms] Passed 4 tests
This is a short check of server-side resources used by Multiple Ajax Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.30 | 5.77 ▼39.50 |
Dashboard /wp-admin | 2.19 ▼1.12 | 10.10 ▼42.44 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 6.07 ▼46.60 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 5.78 ▼90.08 |
Media Library /wp-admin/upload.php | 2.19 ▼1.05 | 5.57 ▼33.70 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_multiple-ajax-calendar |
Browser metrics Passed 4 tests
A check of browser resources used by Multiple Ajax Calendar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 13.83 ▼0.59 | 9.17 ▲7.44 | 41.67 ▲2.36 |
Dashboard /wp-admin | 2,194 ▲23 | 5.55 ▼0.02 | 87.76 ▲0.13 | 40.85 ▲0.92 |
Posts /wp-admin/edit.php | 2,099 ▼1 | 2.02 ▼0.00 | 36.12 ▼4.68 | 32.12 ▼6.58 |
Add New Post /wp-admin/post-new.php | 1,527 ▼8 | 23.43 ▲4.99 | 654.82 ▼0.54 | 51.75 ▼12.85 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.17 ▼0.10 | 101.53 ▼3.56 | 44.02 ▼0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/multiple-ajax-calendar/multiple-ajax-calendar.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; MultipleAjaxCalendarWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_multiple-ajax-calendar
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multiple-ajax-calendar/multiple-ajax-calendar.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Example screenshot), #2 (Example screenshot), #3 (Example screenshot)
- Plugin Name: Please specify the plugin name on the first line (
=== multiple-ajax-calendar ===
)
multiple-ajax-calendar/multiple-ajax-calendar.php Passed 13 tests
The main PHP file in "Multiple Ajax Calendar" ver. 2.2 adds more information about the plugin and also serves as the entry point for this plugin
85 characters long description:
The wordpress calendar widget enhanced to allow multiple instances of it in one page.
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
Everything looks great! No dangerous files found in this plugin379 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 44 | 288 |
CSS | 1 | 3 | 1 | 91 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 7.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
3 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 12.77KB | 3.40KB | ▼ 73.42% |
screenshot-2.png | 15.68KB | 4.14KB | ▼ 73.60% |
screenshot-1.png | 20.88KB | 5.46KB | ▼ 73.85% |