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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▲0.90ms] Passed 4 tests
Analyzing server-side resources used by Editorial Calendar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 44.83 ▼0.80 |
Dashboard /wp-admin | 3.50 ▲0.20 | 55.19 ▲3.63 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 55.91 ▲6.15 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 90.21 ▼5.38 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 45.95 ▲10.78 |
Calendar /wp-admin/edit.php?page=cal | 3.47 | 50.01 |
Server storage [IO: ▲1.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 100 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
edcal_count |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Editorial Calendar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.16 ▼0.46 | 1.95 ▲0.29 | 45.80 ▲7.62 |
Dashboard /wp-admin | 2,193 ▲19 | 5.55 ▲0.02 | 91.07 ▲3.25 | 40.34 ▲1.01 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▲0.01 | 37.79 ▲2.26 | 36.10 ▼1.87 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.96 ▼0.08 | 678.32 ▼20.73 | 50.97 ▼14.01 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▲0.00 | 100.99 ▲1.01 | 47.28 ▼0.37 |
Calendar /wp-admin/edit.php?page=cal | 2,130 | 3.24 | 67.90 | 49.59 |
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 does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- edcal_count
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/editorial-calendar/edcal.php:29
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (The calendar integrates seamlessly into the WordPress administration console), #2 (See the big picture with a view of all your posts and when they'll be published.), #3 (Drag and drop posts to easily change dates and take control of your blog.), #4 (Create, edit, and schedule posts in one simple quickedit dialog.), #5 (Show as much or as little of your blog as you like.), #6 (Use a special calendar for each custom post type on your blog.), #7 (Use the new unscheduled drafts section to manage drafts before you schedule them.)
editorial-calendar/edcal.php 92% from 13 tests
This is the main PHP file of "Editorial Calendar" version 3.8.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("editorial-calendar.php" instead of "edcal.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin10,987 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 38 | 1,095 | 1,967 | 6,796 |
PO File | 20 | 1,131 | 1,166 | 2,633 |
PHP | 1 | 228 | 383 | 870 |
CSS | 5 | 181 | 88 | 686 |
Bourne Shell | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 124.00 |
▷ Minimum class complexity | 124.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 5.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 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 | 3 | |
▷ Global constants | 3 | 100.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
8 PNG files occupy 0.23MB 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 | 6.75KB | 3.13KB | ▼ 53.60% |
screenshot-2.png | 34.74KB | 14.20KB | ▼ 59.11% |
screenshot-3.png | 39.05KB | 15.88KB | ▼ 59.34% |
images/tip_close.png | 0.50KB | 0.39KB | ▼ 22.50% |
screenshot-7.png | 41.13KB | 16.80KB | ▼ 59.16% |