Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.64ms] Passed 4 tests
A check of server-side resources used by TIEexpire Automated Post Expiry
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.20 ▼1.67 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.42 ▼3.76 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 55.61 ▲5.68 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 88.43 ▼12.91 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.00 ▼0.22 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
TIEtools_notify_poster |
db_upgraded |
TIEtools_notify_admin |
widget_recent-comments |
widget_recent-posts |
TIEexpire_pub |
TIEtools_notify_other |
TIEexpire_catsradio |
... |
Browser metrics Passed 4 tests
A check of browser resources used by TIEexpire Automated Post Expiry
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.38 ▼0.18 | 1.81 ▼0.13 | 42.95 ▼1.60 |
Dashboard /wp-admin | 2,208 ▲28 | 5.55 ▼0.15 | 85.83 ▼14.92 | 39.92 ▼2.67 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 2.01 ▲0.01 | 40.60 ▲4.27 | 37.84 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,558 ▲13 | 23.63 ▲0.58 | 624.24 ▼41.18 | 54.91 ▼4.60 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.22 ▲0.00 | 98.81 ▼5.41 | 44.63 ▼3.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 11 options
- TIEexpire_pub
- TIEexpire_catsradio
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- TIEtools_notify_poster
- TIEtools_notify_other
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tieexpire-automated-post-expiry/TIEexpire.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: expiration, automatic, category, categories, automated...
tieexpire-automated-post-expiry/TIEexpire.php 92% from 13 tests
The principal PHP file in "TIEexpire Automated Post Expiry" v. 1.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tieexpire-automated-post-expiry.php" instead of "TIEexpire.php")
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
No dangerous file extensions were detected442 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 65 | 59 | 442 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
donate.png | 3.91KB | 1.98KB | ▼ 49.29% |
expire.png | 2.21KB | 1.81KB | ▼ 18.03% |