Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲4.44MB] [CPU: ▼270.87ms] Passed 4 tests
A check of server-side resources used by Content Scheduler - Schedule Posts, Editorial Calendar and Notes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.37 ▲4.85 | 76.20 ▲22.02 |
Dashboard /wp-admin | 8.38 ▲4.98 | 60.01 ▲23.92 |
Posts /wp-admin/edit.php | 8.38 ▲4.75 | 63.24 ▲21.41 |
Add New Post /wp-admin/post-new.php | 10.16 ▲3.19 | 115.00 ▼1,144.42 |
Media Library /wp-admin/upload.php | 8.38 ▲5.09 | 47.31 ▲17.50 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.38 | 44.95 |
Server storage [IO: ▲4.98MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 477 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wpcs_content_scheduler_rewrites_flushed |
fs_accounts |
wpcs_content_scheduler_settings |
fs_debug_mode |
wpcs_content_scheduler_version |
fs_gdpr |
fs_active_plugins |
Browser metrics Passed 4 tests
Checking browser requirements for Content Scheduler - Schedule Posts, Editorial Calendar and Notes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲87 | 15.71 ▲0.12 | 5.67 ▲0.05 | 3.12 ▲0.49 |
Dashboard /wp-admin | 2,935 ▲74 | 6.17 ▼0.07 | 127.77 ▼8.67 | 173.00 ▲3.68 |
Posts /wp-admin/edit.php | 2,734 ▲43 | 3.24 ▼0.02 | 65.64 ▲1.80 | 152.65 ▲15.27 |
Add New Post /wp-admin/post-new.php | 1,714 ▲3 | 21.13 ▼0.16 | 409.37 ▼69.39 | 171.40 ▲13.42 |
Media Library /wp-admin/upload.php | 1,741 ▲49 | 5.53 ▲0.05 | 136.42 ▼8.16 | 200.15 ▲12.25 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,444 | 2.50 | 57.75 | 115.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wpcs-content-scheduler/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 7 options in the database
- wpcs_content_scheduler_settings
- wpcs_content_scheduler_rewrites_flushed
- fs_active_plugins
- wpcs_content_scheduler_version
- fs_gdpr
- fs_accounts
- fs_debug_mode
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: post scheduler, schedule posts, scheduled posts, editorial calendar
wpcs-content-scheduler/wpcs-content-scheduler.php Passed 13 tests
The principal PHP file in "Content Scheduler - Schedule Posts, Editorial Calendar and Notes" v. 1.3.0 is loaded by WordPress automatically on each request
75 characters long description:
Manage all your content in an easy to use drag and drop editorial calendar.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected69,404 lines of code in 424 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 262 | 4,763 | 2,052 | 34,531 |
PHP | 115 | 7,636 | 16,109 | 31,541 |
CSS | 17 | 189 | 104 | 1,675 |
Sass | 14 | 179 | 15 | 764 |
Markdown | 7 | 206 | 0 | 645 |
YAML | 5 | 6 | 6 | 129 |
JSON | 4 | 0 | 0 | 119 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 79.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 2 | 3.77% |
▷ Concrete classes | 51 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 1,160 | |
▷ Static methods | 178 | 15.34% |
▷ Public methods | 820 | 70.69% |
▷ Protected methods | 15 | 1.29% |
▷ Private methods | 325 | 28.02% |
Functions | 94 | |
▷ Named functions | 94 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 125 | |
▷ Global constants | 100 | 80.00% |
▷ Class constants | 25 | 20.00% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |