Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.47ms] Passed 4 tests
Analyzing server-side resources used by My schedule WordPress plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.31 ▼3.21 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.12 ▼14.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.56 ▼2.60 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.99 ▼10.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.31 ▼1.13 |
My schedule /wp-admin/index.php?page=my_schedule | 3.18 | 33.72 |
My schedule /wp-admin/options-general.php?page=my-schedule | 3.21 | 34.35 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for My schedule WordPress plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.34 ▼0.03 | 1.72 ▼0.03 | 42.28 ▲0.74 |
Dashboard /wp-admin | 2,205 ▲25 | 5.62 ▼0.04 | 82.31 ▼7.29 | 35.09 ▼5.00 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.02 ▲0.03 | 35.81 ▼0.41 | 33.49 ▼4.03 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.45 ▼0.24 | 662.40 ▼18.95 | 49.82 ▼13.66 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.19 ▲0.06 | 96.39 ▼11.03 | 47.34 ▲1.56 |
My schedule /wp-admin/index.php?page=my_schedule | 768 | 1.99 | 24.60 | 24.62 |
My schedule /wp-admin/options-general.php?page=my-schedule | 866 | 1.99 | 22.90 | 26.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/index.php?page=my_schedule
- > Notice in wp-content/plugins/my-schedule/includes/board.php+35
A non well formed numeric value encountered
- > GET request to /wp-admin/index.php?page=my_schedule
- > Warning in wp-content/plugins/my-schedule/includes/board.php+39
max(): Array must contain at least one element
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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function MySchedule\\Board\\add_action() in wp-content/plugins/my-schedule/includes/board.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function MySchedule\\Settings\\add_action() in wp-content/plugins/my-schedule/includes/settings.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function MySchedule\\Style\\add_action() in wp-content/plugins/my-schedule/includes/style.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function MySchedule\\Style\\add_action() in wp-content/plugins/my-schedule/includes/style.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues 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
1 plugin tags: schedule
my-schedule/my-schedule.php Passed 13 tests
This is the main PHP file of "My schedule WordPress plugin" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
11 characters long description:
My schedule
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin317 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 42 | 14 | 181 |
PO File | 1 | 37 | 30 | 92 |
CSS | 1 | 12 | 0 | 44 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 4 | |
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 | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
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
There were not PNG files found in your plugin