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.05MB] [CPU: ▼6.06ms] Passed 4 tests
This is a short check of server-side resources used by Simple Certain Time to Show Content
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 47.40 ▲8.66 |
Dashboard /wp-admin | 3.36 ▲0.02 | 51.71 ▼14.64 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 51.45 ▼3.32 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.25 ▼7.32 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.96 ▲1.06 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
eeSCTSC |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Certain Time to Show Content
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.35 ▲0.23 | 2.02 ▲0.11 | 37.43 ▼4.32 |
Dashboard /wp-admin | 2,224 ▲44 | 5.60 ▼0.07 | 86.29 ▼5.77 | 39.75 ▼3.22 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.01 ▼0.02 | 38.89 ▼2.67 | 37.48 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,549 ▲12 | 23.27 ▲5.01 | 652.88 ▲19.72 | 51.88 ▼23.95 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.28 ▼0.00 | 99.22 ▼2.34 | 43.58 ▲0.30 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- eeSCTSC
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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 no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-certain-time-to-show-content/support/ee-donations.php
- > /wp-content/plugins/simple-certain-time-to-show-content/support/ee-support-functions.php
- > /wp-content/plugins/simple-certain-time-to-show-content/simple-certain-time-to-show-content.php
- > /wp-content/plugins/simple-certain-time-to-show-content/support/ee-plugin-credits.php
- > /wp-content/plugins/simple-certain-time-to-show-content/ee-plugin-instructions.php
- > /wp-content/plugins/simple-certain-time-to-show-content/support/ee-plugin-support.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Requires at least: Invalid plugin version format
simple-certain-time-to-show-content/simple-certain-time-to-show-content.php 92% from 13 tests
The entry point to "Simple Certain Time to Show Content" version 1.2.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin5,223 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 343 | 157 | 2,511 |
PO File | 5 | 255 | 285 | 832 |
CSS | 4 | 63 | 52 | 800 |
PHP | 6 | 276 | 108 | 426 |
HTML | 1 | 62 | 0 | 329 |
Markdown | 1 | 81 | 0 | 215 |
JSON | 3 | 0 | 0 | 77 |
TypeScript | 1 | 3 | 116 | 33 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 10 | |
▷ Named functions | 10 | 100.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
4 PNG files occupy 0.21MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 182.59KB | 47.13KB | ▼ 74.19% |
timepicker/lib/screenshot.png | 4.64KB | 4.74KB | 0.00% |
support/images/ee-show-support.png | 11.08KB | 5.79KB | ▼ 47.75% |
timepicker/lib/glyphicons-halflings.png | 13.50KB | 10.35KB | ▼ 23.34% |