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.03MB] [CPU: ▼2.78ms] Passed 4 tests
This is a short check of server-side resources used by Simple Team Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.50 ▼6.01 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.48 ▼4.75 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.98 ▲4.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 95.09 ▲0.73 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.56 ▼1.07 |
Server storage [IO: ▲7.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple Team Widgets: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲61 | 13.24 ▼1.38 | 1.66 ▼0.65 | 42.88 ▼5.74 |
Dashboard /wp-admin | 2,227 ▲42 | 5.91 ▲0.01 | 94.22 ▼4.89 | 39.67 ▲1.16 |
Posts /wp-admin/edit.php | 2,106 ▲14 | 2.02 ▼0.00 | 41.13 ▲6.01 | 37.48 ▲5.90 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 23.43 ▲5.90 | 649.93 ▼31.13 | 52.87 ▼4.67 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.27 ▲0.06 | 96.13 ▼11.99 | 43.59 ▼4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-team-widget/widgets/parts/team-style6.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-team-widget/widgets/parts/team-style1.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-team-widget/widgets/parts/team-style4.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-team-widget/widgets/parts/team-style5.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-team-widget/widgets/parts/team-style3.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/simple-team-widget/widgets/team.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/simple-team-widget/widgets/parts/team-style2.php:3
- > 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 86% 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
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Team Style 1), #2 (Team Style 2), #3 (Team Style 3), #4 (Team Style 4), #5 (Team Style 5), #6 (Team Style 6)
simple-team-widget/simple-team-addon.php 77% from 13 tests
The primary PHP file in "Simple Team Widgets" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-team-widget.php" instead of "simple-team-addon.php")
- 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 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected23,284 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 3,275 | 40 | 12,896 |
SVG | 3 | 0 | 0 | 9,552 |
PHP | 8 | 150 | 160 | 836 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 2 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 4.25MB with 3.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/screenshot-2.png | 867.72KB | 203.82KB | ▼ 76.51% |
assets/images/screenshot-5.png | 789.28KB | 189.74KB | ▼ 75.96% |
assets/images/banner-772x250.png | 112.01KB | 33.02KB | ▼ 70.52% |
assets/images/screenshot-1.png | 891.62KB | 208.23KB | ▼ 76.65% |
assets/images/screenshot-4.png | 366.14KB | 90.09KB | ▼ 75.39% |