Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/tt-subscribe/framework/widget/settings.php+4
Function create_function() is deprecated
Server metrics [RAM: ▼1.94MB] [CPU: ▼56.87ms] Passed 4 tests
Server-side resources used by TT - Subscribe
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.83 ▼33.82 |
Dashboard /wp-admin | 2.07 ▼1.27 | 7.44 ▼55.53 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.80 ▼43.64 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 6.50 ▼94.50 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.85 ▼29.26 |
Support /wp-admin/admin.php?page=tt-subscribe-support | 2.08 | 5.61 |
Advance Settings /wp-admin/admin.php?page=tt-subscribe-advance | 2.08 | 5.91 |
About /wp-admin/admin.php?page=tt-subscribe-about | 2.08 | 6.77 |
Subscriptions /wp-admin/admin.php?page=tt-subscribe-subscriptions | 2.08 | 5.70 |
Basic Settings /wp-admin/admin.php?page=tt-subscribe-basic | 2.08 | 6.92 |
TT-Subscribe /wp-admin/admin.php?page=tt-subscribe | 2.08 | 6.00 |
Server storage [IO: ▲1.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_tt_subscribe_widget |
Browser metrics Passed 4 tests
Checking browser requirements for TT - Subscribe
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,077 ▲316 | 16.15 ▲1.59 | 90.64 ▲89.10 | 43.59 ▲3.35 |
Dashboard /wp-admin | 2,311 ▲137 | 5.60 ▲0.07 | 82.27 ▼0.20 | 39.29 ▼5.12 |
Posts /wp-admin/edit.php | 2,202 ▲102 | 2.03 ▼0.01 | 39.62 ▲4.05 | 37.68 ▲5.38 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 23.21 ▲0.02 | 669.07 ▼24.00 | 53.64 ▲6.30 |
Media Library /wp-admin/upload.php | 1,528 ▲125 | 4.27 ▲0.12 | 93.90 ▼5.98 | 41.15 ▼4.73 |
Support /wp-admin/admin.php?page=tt-subscribe-support | 1,155 | 1.66 | 22.21 | 33.41 |
Advance Settings /wp-admin/admin.php?page=tt-subscribe-advance | 976 | 1.65 | 22.52 | 33.18 |
About /wp-admin/admin.php?page=tt-subscribe-about | 1,029 | 1.66 | 26.27 | 31.77 |
Subscriptions /wp-admin/admin.php?page=tt-subscribe-subscriptions | 1,188 | 1.67 | 22.96 | 38.72 |
Basic Settings /wp-admin/admin.php?page=tt-subscribe-basic | 1,112 | 1.66 | 22.24 | 34.35 |
TT-Subscribe /wp-admin/admin.php?page=tt-subscribe | 1,263 | 1.77 | 25.76 | 35.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/tt-subscribe/framework/widget/settings.php+4
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_tt_subscribe_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tt-subscribe
- > Deprecated in wp-content/plugins/tt-subscribe/framework/widget/settings.php+4
Function create_function() is deprecated
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 take a closer look at the following
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(TT_SUBSCRIBE_DIRframework/widget/settings.php): failed to open stream: No such file or directory in wp-content/plugins/tt-subscribe/framework/widget.php on line 2
- > PHP Warning
require_once(TT_SUBSCRIBE_DIRframework/admin/settings.php): failed to open stream: No such file or directory in wp-content/plugins/tt-subscribe/framework/admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tt-subscribe/framework/widget/custom-codes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tt-subscribe/framework/widget/settings.php:4
- > PHP Fatal error
require_once(): Failed opening required 'TT_SUBSCRIBE_DIRframework/widget/settings.php' (include_path='.:/usr/share/php') in wp-content/plugins/tt-subscribe/framework/widget.php on line 2
- > PHP Warning
Use of undefined constant TT_SUBSCRIBE_DIR - assumed 'TT_SUBSCRIBE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tt-subscribe/framework/admin.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'TT_SUBSCRIBE_DIRframework/admin/settings.php' (include_path='.:/usr/share/php') in wp-content/plugins/tt-subscribe/framework/admin.php on line 2
- > PHP Warning
Use of undefined constant TT_SUBSCRIBE_DIR - assumed 'TT_SUBSCRIBE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tt-subscribe/framework/widget.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/tt-subscribe/framework/admin/settings.php:110
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/tt-subscribe/tt-subscribe.php:31
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (TT-Subscribe Dashboard), #2 (TT-Subscribe Basic Settings), #3 (TT-Subscribe Subscriptions), #4 (TT-Subscribe Advance Settings)
- Tags: You are using too many tags: 27 tag instead of maximum 10
tt-subscribe/tt-subscribe.php 92% from 13 tests
The primary PHP file in "TT - Subscribe" version 4.0.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 511 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
Good job! No executable or dangerous file extensions detected6,332 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 42 | 24 | 1,877 |
Sass | 13 | 26 | 24 | 1,352 |
LESS | 13 | 26 | 33 | 1,343 |
PHP | 15 | 114 | 55 | 1,051 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 2 | 17 | 13 | 106 |
Markdown | 1 | 14 | 0 | 38 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.30MB with 0.18MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 120.65KB | 51.52KB | ▼ 57.30% |
screenshot-3.png | 61.97KB | 24.20KB | ▼ 60.95% |
screenshot-4.png | 54.94KB | 20.05KB | ▼ 63.50% |
screenshot-2.png | 67.65KB | 27.10KB | ▼ 59.94% |