Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.31ms] Passed 4 tests
Analyzing server-side resources used by Tailored Easy Exclude
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.24 ▲1.94 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.72 ▲1.53 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.94 ▲0.37 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.35 ▼2.61 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 41.67 ▲11.59 |
Tailored Easy Exclude /wp-admin/options-general.php?page=tailored-easy-exclude | 3.27 | 40.80 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tailored Easy Exclude
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.18 | 1.74 ▼0.04 | 45.14 ▼2.27 |
Dashboard /wp-admin | 2,213 ▲25 | 4.87 ▼0.03 | 97.21 ▼2.81 | 40.10 ▼5.19 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 36.37 ▲3.23 | 34.26 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 23.26 ▲0.02 | 648.03 ▼11.01 | 51.02 ▼1.02 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.19 ▼0.02 | 96.01 ▲0.28 | 42.23 ▼0.93 |
Tailored Easy Exclude /wp-admin/options-general.php?page=tailored-easy-exclude | 871 | 2.01 | 33.18 | 31.33 |
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: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/tailored-easy-exclude/admin/views/admin.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: exclude posts, exclude admin page, exclude page, exclude
tailored-easy-exclude/tailored-easy-exclude.php 92% from 13 tests
"Tailored Easy Exclude" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
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
Success! There were no dangerous files found in this plugin768 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 10 | 25 | 400 |
PHP | 5 | 187 | 288 | 358 |
JavaScript | 2 | 4 | 2 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 7 | 28.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
admin/assets/img/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |