Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.11ms] Passed 4 tests
An overview of server-side resources used by Schedule Tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.42 ▲4.22 |
Dashboard /wp-admin | 3.38 ▲0.03 | 48.74 ▼8.90 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.39 ▲1.79 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 93.64 ▲0.12 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 32.28 ▼1.44 |
Schedule Tags /wp-admin/options-general.php?page=wpts-options | 3.27 | 29.57 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
wpts_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Schedule Tags: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.30 ▼1.38 | 1.65 ▲0.08 | 43.50 ▲0.21 |
Dashboard /wp-admin | 2,225 ▲36 | 4.96 ▲0.04 | 110.60 ▲5.26 | 42.56 ▼0.32 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 2.35 ▲0.30 | 39.53 ▼1.74 | 38.94 ▲1.98 |
Add New Post /wp-admin/post-new.php | 6,263 ▲4,721 | 26.30 ▲7.62 | 825.82 ▲192.55 | 64.38 ▲18.44 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.46 ▲0.26 | 94.45 ▼6.03 | 41.32 ▼1.78 |
Schedule Tags /wp-admin/options-general.php?page=wpts-options | 834 | 2.20 | 27.33 | 25.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/schedule-tags/schedule-tags.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: dynamic tags, schedule tags, tags, future tags, custom tags...
schedule-tags/schedule-tags.php Passed 13 tests
The principal PHP file in "Schedule Tags" v. 1.1 is loaded by WordPress automatically on each request
96 characters long description:
This plugin allows you to schedule tags automatically according to the date defined for the tag.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin375 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 56 | 138 | 277 |
JavaScript | 1 | 14 | 2 | 98 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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 images were found in this plugin