Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/external-group-rss-tab-extension/loader.php+17
define(): Declaration of case-insensitive constants is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼49.77ms] Passed 4 tests
Analyzing server-side resources used by External Group RSS tab extension
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.37 ▼37.84 |
Dashboard /wp-admin | 2.08 ▼1.22 | 10.34 ▼38.88 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 6.51 ▼40.50 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 5.35 ▼81.87 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.56 ▼28.67 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for External Group RSS tab extension
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.52 ▼0.84 | 1.64 ▼0.13 | 42.47 ▼1.58 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▼0.05 | 98.96 ▼19.40 | 39.39 ▼3.99 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.05 ▼0.01 | 39.61 ▲4.48 | 35.22 ▲1.01 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.23 ▲4.79 | 670.31 ▲38.87 | 54.40 ▼8.92 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.19 ▼0.03 | 107.09 ▲8.17 | 46.07 ▲2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/external-group-rss-tab-extension/loader.php+17
define(): Declaration of case-insensitive constants is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/external-group-rss-tab-extension/loader.php:22
- > 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 79% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Requires at least: Invalid version format
- Tested up to: Invalid version format
- Screenshots: Screenshot #1 (New tab (External Blogs) in group navigation bar) image required
external-group-rss-tab-extension/loader.php 77% from 13 tests
"External Group RSS tab extension" version 2.0'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: The description should be shorter than 140 characters (currently 210 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("external-group-rss-tab-extension.php" instead of "loader.php")
- Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "WP 3.5.1, BuddyPress 1.7")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected130 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 29 | 38 | 127 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 6.00 |
▷ Maximum method complexity | 6.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
2 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/world_16x16.png | 0.90KB | 1.05KB | 0.00% |
screenshot-1.png | 87.89KB | 36.17KB | ▼ 58.84% |