Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.91MB] [CPU: ▼33.71ms] Passed 4 tests
Analyzing server-side resources used by Schedule
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.65 ▲0.08 |
Dashboard /wp-admin | 3.04 ▼0.30 | 25.89 ▼31.58 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 22.93 ▼21.63 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.84 | 25.60 ▼69.50 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 23.35 ▼12.13 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Schedule
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲79 | 13.39 ▼0.98 | 1.81 ▼0.07 | 39.47 ▼0.91 |
Dashboard /wp-admin | 2,231 ▲40 | 4.86 ▼0.06 | 109.57 ▲1.50 | 43.76 ▲0.22 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.00 ▲0.00 | 39.78 ▲4.81 | 40.09 ▲3.53 |
Add New Post /wp-admin/post-new.php | 1,410 ▼104 | 22.73 ▲4.96 | 505.87 ▼146.99 | 63.46 ▲7.45 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.20 ▲0.03 | 100.83 ▲1.20 | 46.55 ▲0.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_schedule
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/schedule/read_note.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query DELETE FROM wp_schedule WHERE id=
- > PHP Fatal error
require_once(): Failed opening required '../../../wp-load.php' (include_path='.:/usr/share/php') in wp-content/plugins/schedule/trunk/read_note.php on line 3
- > PHP Warning
require_once(../../../wp-load.php): failed to open stream: No such file or directory in wp-content/plugins/schedule/trunk/read_note.php on line 3
- > PHP Fatal error
Uncaught Exception: DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character in wp-content/plugins/schedule/save_note.php:33
- > PHP Fatal error
require_once(): Failed opening required '../../../wp-load.php' (include_path='.:/usr/share/php') in wp-content/plugins/schedule/trunk/delete_note.php on line 2
- > WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query SELECT * FROM wp_schedule WHERE id=
- > PHP Warning
require_once(../../../wp-load.php): failed to open stream: No such file or directory in wp-content/plugins/schedule/trunk/delete_note.php on line 2
- > PHP Fatal error
require_once(): Failed opening required '../../../wp-load.php' (include_path='.:/usr/share/php') in wp-content/plugins/schedule/trunk/save_note.php on line 3
- > PHP Warning
require_once(../../../wp-load.php): failed to open stream: No such file or directory in wp-content/plugins/schedule/trunk/save_note.php on line 3
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: schedule, event, calendar, alarm, agenda...
schedule/schedule.php Passed 13 tests
The main PHP file in "Schedule" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
Manage your calendar appointments and time schedule.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin2,621 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 210 | 299 | 1,782 |
PHP | 6 | 180 | 63 | 813 |
CSS | 1 | 3 | 1 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected