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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.16ms] Passed 4 tests
A check of server-side resources used by Stale Content Notifier
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.93 ▲0.63 |
Dashboard /wp-admin | 3.43 ▲0.08 | 74.04 ▲15.89 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.49 ▼1.84 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.04 ▼6.72 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.19 ▼0.72 |
Stale Content Notifier /wp-admin/tools.php?page=scntfy_tools | 3.25 | 30.25 |
Server storage [IO: ▲0.01MB] [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: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
scntfy_stale_timeframe |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Stale Content Notifier
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.37 ▼0.36 | 1.66 ▲0.01 | 41.20 ▲3.43 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▼0.02 | 95.70 ▼3.41 | 41.96 ▼0.31 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.97 ▲0.02 | 41.30 ▼0.06 | 36.93 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.30 ▲0.59 | 627.09 ▲18.09 | 49.48 ▲1.30 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.20 ▲0.01 | 104.98 ▲6.40 | 42.05 ▲1.11 |
Stale Content Notifier /wp-admin/tools.php?page=scntfy_tools | 821 | 2.00 | 27.33 | 27.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- scntfy_stale_timeframe
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
5 plugin tags: content, stale-content, maintenance, posts, notification
stale-content-notifier/stale-content-notifier.php Passed 13 tests
The main PHP script in "Stale Content Notifier" version 1.0.0 is automatically included on every request by WordPress
109 characters long description:
Automatically notify authors and administrators about posts that haven't been updated for a specified period.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin218 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 48 | 218 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin