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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.28ms] Passed 4 tests
An overview of server-side resources used by Subscriber website
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.22 ▲4.55 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.20 ▼19.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.89 ▼1.75 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.96 ▼12.59 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.38 ▲4.81 |
Subscriber /wp-admin/themes.php?page=subscriber | 3.19 | 40.29 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_enqtran_subscriber_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Subscriber website
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.42 ▼0.04 | 2.07 ▲0.30 | 44.11 ▲0.79 |
Dashboard /wp-admin | 2,225 ▲19 | 4.86 ▼1.04 | 103.18 ▼6.59 | 40.13 ▼4.37 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.02 | 39.26 ▼3.82 | 35.77 ▼3.66 |
Add New Post /wp-admin/post-new.php | 1,529 ▼5 | 17.58 ▼5.81 | 632.70 ▲6.10 | 49.74 ▼6.68 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.26 ▼0.02 | 95.52 ▼14.07 | 43.99 ▼2.76 |
Subscriber /wp-admin/themes.php?page=subscriber | 889 | 2.04 | 21.77 | 29.10 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_enqtran_subscriber_widget
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/themes.php?page=subscriber
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/subscriber-website/plugin_enqtran_subscriber_website.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png), #4 (screenshot-4.png), #5 (screenshot-5.png), #6 (screenshot-6.png)
subscriber-website/plugin_enqtran_subscriber_website.php 92% from 13 tests
Analyzing the main PHP file in "Subscriber website" version 1.0
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("subscriber-website.php" instead of "plugin_enqtran_subscriber_website.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin288 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 61 | 288 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 7 | |
▷ Named functions | 7 | 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
6 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 3.01KB | 2.52KB | ▼ 16.16% |
screenshot-3.png | 7.45KB | 4.88KB | ▼ 34.50% |
screenshot-5.png | 9.56KB | 6.05KB | ▼ 36.74% |
screenshot-6.png | 4.14KB | 2.63KB | ▼ 36.60% |
screenshot-2.png | 6.24KB | 4.04KB | ▼ 35.23% |