Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼1.55MB] [CPU: ▼51.14ms] Passed 4 tests
Server-side resources used by Localendar Calendar for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.45 ▼1.02 | 9.45 ▼34.34 |
Dashboard /wp-admin | 2.46 ▼0.85 | 12.24 ▼42.47 |
Posts /wp-admin/edit.php | 2.46 ▼0.90 | 12.58 ▼38.76 |
Add New Post /wp-admin/post-new.php | 2.46 ▼3.43 | 12.20 ▼88.97 |
Media Library /wp-admin/upload.php | 2.46 ▼0.77 | 12.99 ▼27.37 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_localendar |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Localendar Calendar for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲107 | 13.48 ▼0.76 | 7.97 ▲5.91 | 42.43 ▲2.49 |
Dashboard /wp-admin | 2,195 ▲24 | 5.63 ▲0.08 | 90.91 ▼5.49 | 38.15 ▼3.79 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.01 | 41.73 ▲6.25 | 36.55 ▼6.35 |
Add New Post /wp-admin/post-new.php | 1,794 ▲268 | 23.27 ▼0.02 | 674.42 ▼25.78 | 58.43 ▼5.88 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.14 ▼0.11 | 96.25 ▼9.47 | 43.64 ▼2.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in TGM_Localendar_Widget is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_localendar
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action_ref_array() in wp-content/plugins/localendar-for-wordpress/localendar.php:61
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
- Screenshots: Add images for these screenshots: #1 (A simple month-block calendar view. See our [Examples](http://www.localendar.com/calendar/online-calendar-samples) page for more styles.), #2 (The mini calendar widget with pop-up event balloons.), #3 (Our Pinboard "flow-style" view. Just one of over 45 ways to publish your calendar), #4 (Use our theme editor to customize your calendar without using CSS (CSS hooks also available)), #5 (There are three different calendar styles used on this sample page), #6 (A highly customized calendar created by a teacher for her students), #7 (Import/Export for a variety of calendar systems), #8 (Manage your events through your localendar account with our powerful Event Editor), #9 (Another customized month calendar, with different event colors, background color, and arrows), #10 (The "Today+Happening Soon" calendar widget. You can customize the text, colors, and look-ahead period.), #11 (The "Today+Happening Soon" calendar widget, with Day/Date information across the top of the calendar)
localendar-for-wordpress/localendar.php 92% from 13 tests
The entry point to "Localendar Calendar for WordPress" version 1.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("localendar-for-wordpress.php" instead of "localendar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected799 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 105 | 170 | 684 |
JavaScript | 1 | 24 | 6 | 115 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 62.50 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 9.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.98MB with 0.66MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 41.63KB | 13.52KB | ▼ 67.53% |
screenshot-6.png | 238.57KB | 71.73KB | ▼ 69.93% |
screenshot-8.png | 93.35KB | 29.10KB | ▼ 68.83% |
screenshot-5.png | 111.57KB | 35.74KB | ▼ 67.97% |
screenshot-1.png | 153.18KB | 53.81KB | ▼ 64.87% |