Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.48ms] Passed 4 tests
This is a short check of server-side resources used by Schedule Notice
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.68 ▲4.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.26 ▲0.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.51 ▼4.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.85 ▼22.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.76 ▲4.34 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Schedule Notice
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.03 ▼0.53 | 1.80 ▲0.16 | 44.14 ▼0.08 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.05 | 97.42 ▲5.22 | 42.78 ▼1.30 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▼0.03 | 37.31 ▼2.44 | 33.10 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 24.00 ▲1.03 | 683.57 ▲57.88 | 56.68 ▼5.40 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.06 | 101.93 ▼2.58 | 40.81 ▼4.48 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% 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)
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-schedule-notice/simple-schedule-notice.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is missing in simple-schedule-notice/assets to your readme.txt
- Donate link: Invalid URI ("")
- Requires at least: Version format is invalid
simple-schedule-notice/simple-schedule-notice.php 92% from 13 tests
The main PHP script in "Schedule Notice" version 1.0.8 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Everything looks great! No dangerous files found in this plugin1,349 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 73 | 114 | 1,114 |
PO File | 1 | 67 | 72 | 156 |
CSS | 1 | 13 | 5 | 49 |
JavaScript | 1 | 4 | 4 | 30 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 91.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 43.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 33 | 56.90% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin