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: ▲0.33MB] [CPU: ▲155.37ms] Passed 4 tests
This is a short check of server-side resources used by CoSchedule
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 44.68 ▼0.60 |
Dashboard /wp-admin | 3.66 ▲0.35 | 330.46 ▲278.71 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 230.44 ▲177.48 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 403.87 ▲309.00 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 201.28 ▲165.90 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
tm_coschedule_custom_post_types_list |
theysaidso_admin_options |
Browser metrics Passed 4 tests
CoSchedule: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.25 ▼1.15 | 1.82 ▲0.03 | 42.82 ▼6.83 |
Dashboard /wp-admin | 2,221 ▲36 | 5.94 ▲0.05 | 100.31 ▼6.61 | 80.74 ▲39.96 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.15 ▲0.12 | 35.68 ▼1.73 | 33.36 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,681 ▲145 | 22.57 ▼0.40 | 653.99 ▼14.26 | 61.00 ▲14.06 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.11 ▼0.10 | 100.87 ▲0.75 | 78.42 ▲38.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TM_CoSchedule::uninstall() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/coschedule-by-todaymade/_access-denied.php
- > /wp-content/plugins/coschedule-by-todaymade/_missing-token.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
include_once(ABSPATHWPINC/class-http.php): failed to open stream: No such file or directory in wp-content/plugins/coschedule-by-todaymade/tm-scheduler.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/coschedule-by-todaymade/frame.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/coschedule-by-todaymade/plugin_setup.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/coschedule-by-todaymade/tm-scheduler.php:2165
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/class-http.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/coschedule-by-todaymade/tm-scheduler.php on line 18
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/coschedule-by-todaymade/tm-scheduler.php on line 18
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/coschedule-by-todaymade/tm-scheduler.php on line 18
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in coschedule-by-todaymade/assets to your readme.txt
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
coschedule-by-todaymade/tm-scheduler.php 85% from 13 tests
The principal PHP file in "CoSchedule" v. 3.3.9 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("coschedule-by-todaymade.php" instead of "tm-scheduler.php")
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
Success! There were no dangerous files found in this plugin1,595 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 379 | 564 | 1,595 |
PHP code Passed 2 tests
An overview 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.43 |
Average class complexity | 253.00 |
▷ Minimum class complexity | 253.00 |
▷ Maximum class complexity | 253.00 |
Average method complexity | 3.90 |
▷ 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 | 87 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 87 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin