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.11MB] [CPU: ▼0.86ms] Passed 4 tests
A check of server-side resources used by Gravitation Teams
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.67 ▼0.75 |
Dashboard /wp-admin | 3.41 ▲0.11 | 45.81 ▼5.21 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.24 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 93.67 ▲4.66 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 40.38 ▲4.29 |
All teams /wp-admin/edit.php?post_type=gv_teams | 3.38 | 39.52 |
Add New /wp-admin/post-new.php?post_type=gv_teams | 3.45 | 48.15 |
Server storage [IO: ▲1.80MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Gravitation Teams
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 13.38 ▼0.99 | 5.34 ▲3.52 | 42.99 ▼6.02 |
Dashboard /wp-admin | 2,237 ▲49 | 5.90 ▲0.00 | 95.61 ▼18.06 | 39.49 ▼9.48 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.01 ▼0.03 | 43.51 ▲7.37 | 36.18 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,560 ▲46 | 23.03 ▼0.51 | 629.29 ▼80.54 | 58.27 ▼2.48 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.27 ▲0.04 | 102.54 ▼10.06 | 46.96 ▼1.56 |
All teams /wp-admin/edit.php?post_type=gv_teams | 1,099 | 1.94 | 35.63 | 30.64 |
Add New /wp-admin/post-new.php?post_type=gv_teams | 2,262 | 7.63 | 166.89 | 64.31 |
Help /wp-admin/gravitation-teams.php | 26 | 0.44 | 0.07 | 12.98 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/gravitation-teams/gravitation-teams.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/gravitation-teams.php
- > Network (severe)
wp-admin/gravitation-teams.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (screenshot-2.png) image not found
gravitation-teams/gravitation-teams.php 92% from 13 tests
The main file in "Gravitation Teams" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
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
Success! There were no dangerous files found in this plugin19,156 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 18 | 60 | 14,698 |
JavaScript | 6 | 1,036 | 1,056 | 3,391 |
PO File | 4 | 153 | 153 | 408 |
PHP | 2 | 132 | 81 | 371 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
18 PNG files occupy 0.54MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pinterest-32-gray.png | 0.82KB | 0.46KB | ▼ 43.71% |
images/pinterest-32-color.png | 0.82KB | 0.46KB | ▼ 44.06% |
images/twitter-32-color.png | 0.70KB | 0.37KB | ▼ 47.14% |
images/instagram-32-gray.png | 0.63KB | 0.36KB | ▼ 42.08% |
images/facebook-32-gray.png | 0.56KB | 0.34KB | ▼ 38.42% |