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.02MB] [CPU: ▼7.05ms] Passed 4 tests
Analyzing server-side resources used by Schedule Posts Calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 34.07 ▼8.58 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.68 ▲4.21 |
Posts /wp-admin/edit.php | 3.13 ▼0.23 | 26.55 ▼20.14 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 102.74 ▲12.78 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 33.17 ▼3.67 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Schedule Posts Calendar: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.44 ▲0.15 | 1.84 ▲0.06 | 42.30 ▼3.55 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.22 | 108.32 ▼0.08 | 44.06 ▼0.06 |
Posts /wp-admin/edit.php | 2,111 ▲25 | 2.07 ▲0.09 | 38.65 ▼0.82 | 33.08 ▲2.73 |
Add New Post /wp-admin/post-new.php | 1,528 ▲9 | 23.50 ▲0.26 | 597.68 ▼90.96 | 54.68 ▼0.93 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.25 ▲0.06 | 95.84 ▼5.65 | 42.53 ▼2.00 |
Schedule Posts Calendar /wp-admin/schedule-posts-calendar.php | 26 | 0.44 | 0.09 | 14.91 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/schedule-posts-calendar/schedule-posts-calendar.php:506
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/schedule-posts-calendar.php
- > Network (severe)
wp-admin/schedule-posts-calendar.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: calendar, admin, posts
schedule-posts-calendar/schedule-posts-calendar.php Passed 13 tests
The entry point to "Schedule Posts Calendar" version 5.3 is a PHP file that has certain tags in its header comment area
57 characters long description:
Adds a JavaScript calendar to the schedule posts options.
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
Success! There were no dangerous files found in this plugin3,850 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 11 | 59 | 3,048 |
JavaScript | 3 | 112 | 170 | 442 |
PHP | 2 | 96 | 94 | 360 |
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.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/imgs/dhxcalendar_material/dhxcalendar_arrow_right.png | 0.21KB | 0.21KB | 0.00% |
skins/imgs/dhxcalendar_material/dhxcalendar_arrow_left.png | 0.20KB | 0.20KB | 0.00% |
skins/imgs/dhxcalendar_material/dhxcalendar_clock.png | 0.31KB | 0.31KB | 0.00% |