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.01MB] [CPU: ▼4.16ms] Passed 4 tests
Server-side resources used by New Tab Redirect Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.95 ▼4.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.15 ▼6.27 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.12 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.73 ▼4.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.58 ▼0.05 |
New Tab Redirect Plus /wp-admin/options-general.php?page=ntrpp-plugin | 3.24 | 30.44 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for New Tab Redirect Plus
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲50 | 14.28 ▲0.05 | 1.59 ▼0.04 | 38.35 ▼6.26 |
Dashboard /wp-admin | 2,205 ▲33 | 5.64 ▼0.08 | 90.57 ▼8.44 | 41.31 ▼2.31 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.99 ▲0.05 | 39.62 ▲4.62 | 35.02 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,543 ▲8 | 18.29 ▼0.11 | 596.12 ▼20.79 | 60.73 ▼12.64 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.22 ▲0.04 | 95.85 ▼1.48 | 47.58 ▲5.54 |
New Tab Redirect Plus /wp-admin/options-general.php?page=ntrpp-plugin | 881 | 2.16 | 23.30 | 27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
new-tab-redirect-plus/new-tab-redirect-plus.php 92% from 13 tests
The primary PHP file in "New Tab Redirect Plus" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected264 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 103 | 33 | 264 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 1.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 14.29% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin