Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php+309
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Server metrics [RAM: ▼1.65MB] [CPU: ▼55.23ms] Passed 4 tests
This is a short check of server-side resources used by GP Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.34 ▼1.12 | 6.44 ▼35.79 |
Dashboard /wp-admin | 2.36 ▼0.95 | 6.89 ▼38.39 |
Posts /wp-admin/edit.php | 2.36 ▼1.00 | 7.65 ▼44.84 |
Add New Post /wp-admin/post-new.php | 2.36 ▼3.53 | 6.42 ▼101.88 |
Media Library /wp-admin/upload.php | 2.36 ▼0.87 | 6.64 ▼27.31 |
Translation Set Management /wp-admin/admin.php?page=gpi_translation_sets | 2.36 | 6.47 |
Settings /wp-admin/admin.php?page=gpi_settings | 2.36 | 6.35 |
GlotPress /wp-admin/admin.php?page=gp-integration/gp-integration.php | 2.36 | 7.31 |
Project Management /wp-admin/admin.php?page=gpi_projects | 2.36 | 7.83 |
Admin Users /wp-admin/admin.php?page=gpi_admin_users | 2.36 | 6.78 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
gp_integration_plugin_version |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
gp_integration |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GP Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲84 | 13.53 ▼0.87 | 1.57 ▼0.70 | 36.45 ▼17.40 |
Dashboard /wp-admin | 2,247 ▲59 | 4.88 ▼0.97 | 108.18 ▲10.82 | 44.18 ▼3.90 |
Posts /wp-admin/edit.php | 2,130 ▲38 | 1.99 ▼0.01 | 40.18 ▼4.28 | 33.90 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,561 ▲19 | 23.31 ▲5.20 | 666.74 ▲76.42 | 58.87 ▲6.64 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.40 ▲0.20 | 95.93 ▼5.54 | 40.86 ▼4.58 |
Translation Set Management /wp-admin/admin.php?page=gpi_translation_sets | 879 | 2.10 | 25.99 | 28.85 |
Settings /wp-admin/admin.php?page=gpi_settings | 1,039 | 2.01 | 31.63 | 37.27 |
GlotPress /wp-admin/admin.php?page=gp-integration/gp-integration.php | 831 | 1.89 | 23.45 | 33.02 |
Project Management /wp-admin/admin.php?page=gpi_projects | 847 | 2.06 | 24.21 | 26.32 |
Admin Users /wp-admin/admin.php?page=gpi_admin_users | 861 | 2.05 | 23.50 | 26.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php+309
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- gp_integration_plugin_version
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- gp_integration
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 35 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gpi_admin_users
- > Warning in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php+360
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gpi_admin_users
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gpi_admin_users
- > 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 341
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 340
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 341
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 360
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 349
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 349
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 309
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 326
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 317
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/gp-integration/ToolStack-WP-Utilities.class.php on line 309
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=gp-integration/gp-integration.php
- > Network (severe)
wp-content/plugins/gp-integration/gp - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: admin, glotpress
gp-integration/gp-integration.php Passed 13 tests
The entry point to "GP Integration" version 1.5 is a PHP file that has certain tags in its header comment area
54 characters long description:
A fully integrated version of GlotPress for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,152 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 540 | 133 | 2,849 |
CSS | 3 | 18 | 25 | 303 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 24.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 6 | 15.00% |
▷ Public methods | 39 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.50% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-250.png | 6.21KB | 3.53KB | ▼ 43.12% |