Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.99ms] Passed 4 tests
A check of server-side resources used by Plugin Name: GMO Share Connection
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.25 ▼1.14 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.75 ▲1.42 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.02 ▲2.47 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.53 ▲1.20 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.82 ▲4.80 |
GMO Share Connection /wp-admin/options-general.php?page=gmo-share-connection | 3.27 | 33.45 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Name: GMO Share Connection
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲155 | 13.88 ▼0.31 | 9.18 ▲7.19 | 44.98 ▼5.25 |
Dashboard /wp-admin | 2,207 ▲18 | 5.84 ▼0.08 | 99.00 ▼5.14 | 41.56 ▲2.90 |
Posts /wp-admin/edit.php | 2,093 ▲25 | 2.03 ▼0.01 | 36.12 ▲1.61 | 33.46 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,549 ▲7 | 18.42 ▲0.05 | 597.13 ▼32.48 | 68.36 ▲9.50 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.05 | 99.16 ▼8.24 | 45.34 ▼0.78 |
GMO Share Connection /wp-admin/options-general.php?page=gmo-share-connection | 1,076 | 2.24 | 35.67 | 34.89 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gmo-share-connection/gmo-share-connection.php:34
- > PHP Fatal error
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/options-general.php?page=gmo-share-connection
- > Network (severe)
wp-content/plugins/gmo-share-connection/css/gmo-admin-plugin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmo-share-connection
- > Network (severe)
wp-content/plugins/gmo-share-connection/images/bnr_themes.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmo-share-connection
- > Network (severe)
wp-content/plugins/gmo-share-connection/images/bnr_plugins.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=gmo-share-connection
- > Network (severe)
wp-content/plugins/gmo-share-connection/images/logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Plugin Name: GMO Share Connection===
)
gmo-share-connection/gmo-share-connection.php 85% from 13 tests
This is the main PHP file of "Plugin Name: GMO Share Connection" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 199 characters long)
- 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 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,623 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 5 | 19 | 1,377 |
SVG | 1 | 0 | 0 | 460 |
PHP | 1 | 63 | 36 | 419 |
Sass | 2 | 19 | 1 | 164 |
JavaScript | 3 | 14 | 29 | 126 |
XML | 8 | 0 | 0 | 52 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 21.43% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpcloud_bnr_plugins.png | 9.14KB | 4.07KB | ▼ 55.50% |
images/wpshop_logo.png | 7.22KB | 5.91KB | ▼ 18.12% |
screenshot-1.png | 166.39KB | 47.99KB | ▼ 71.16% |
images/ico_link.png | 1.00KB | 0.21KB | ▼ 79.07% |
images/wpcloud_bnr_themes.png | 8.66KB | 3.83KB | ▼ 55.75% |