Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.45ms] Passed 4 tests
Analyzing server-side resources used by Gutena Team - Team Slider and Grid
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.01 ▼7.16 |
Dashboard /wp-admin | 3.37 ▲0.07 | 41.77 ▼10.03 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 49.64 ▲7.65 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 88.79 ▼17.28 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.12 ▲4.68 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Gutena Team - Team Slider and Grid
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.20 ▼1.55 | 1.85 ▼0.02 | 42.38 ▼5.22 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▼0.01 | 98.52 ▼18.25 | 40.37 ▼7.47 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.06 ▲0.03 | 40.39 ▼1.16 | 35.69 ▼1.32 |
Add New Post /wp-admin/post-new.php | 6,594 ▲5,065 | 29.55 ▲10.97 | 973.06 ▲295.24 | 41.27 ▼20.13 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.27 ▲0.05 | 99.04 ▼0.23 | 42.77 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output 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
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: team member, team grid, team block, team slider, team
gutena-team/gutena-team.php Passed 13 tests
The main PHP script in "Gutena Team - Team Slider and Grid" version 1.0.0 is automatically included on every request by WordPress
11 characters long description:
Gutena Team
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 detected413 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 209 |
PHP | 5 | 45 | 120 | 177 |
SVG | 5 | 0 | 0 | 20 |
CSS | 3 | 0 | 0 | 4 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 10 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 16.67% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
build/images/image.f958ed23.png | 126.29KB | 46.49KB | ▼ 63.19% |
includes/gutena/gutena-ecosys-onboard/assets/cta/bg.png | 6.31KB | 3.12KB | ▼ 50.59% |