Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼7.39ms] Passed 4 tests
Analyzing server-side resources used by WP Giosg
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 42.64 ▲3.48 |
Dashboard /wp-admin | 3.55 ▲0.25 | 45.72 ▼3.99 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 47.60 ▼1.54 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 83.35 ▼25.29 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.91 ▲1.27 |
WP Giosg Settings /wp-admin/options-general.php?page=wp-giosg | 3.38 | 29.97 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 135 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
wp_giosg_settings |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Giosg: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.46 ▲0.18 | 1.76 ▲0.02 | 43.77 ▲2.42 |
Dashboard /wp-admin | 2,210 ▲19 | 4.83 ▼0.08 | 108.61 ▲5.97 | 40.21 ▼1.63 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.02 | 40.23 ▼0.84 | 36.15 ▲1.46 |
Add New Post /wp-admin/post-new.php | 1,536 ▲15 | 23.18 ▼0.27 | 644.23 ▲23.48 | 62.10 ▲11.42 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.25 ▲0.01 | 101.08 ▲2.24 | 45.08 ▲2.22 |
WP Giosg Settings /wp-admin/options-general.php?page=wp-giosg | 899 | 2.03 | 27.16 | 24.27 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-giosg/src/templates/script.php
- 107× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php:12
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-giosg/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
6 plugin tags: customer support, live chat, giosg, chat, woocommerce...
wp-giosg/bootstrap.php 85% from 13 tests
The entry point to "WP Giosg" version 1.0.8 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-giosg.php" instead of "bootstrap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin3,932 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 582 | 1,135 | 3,381 |
JSON | 3 | 0 | 0 | 341 |
YAML | 3 | 31 | 3 | 123 |
JavaScript | 1 | 0 | 0 | 87 |
PHP code Passed 2 tests
An overview 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.28 |
Average class complexity | 3.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 109 | |
▷ Abstract classes | 1 | 0.92% |
▷ Concrete classes | 108 | 99.08% |
▷ Final classes | 0 | 0.00% |
Methods | 191 | |
▷ Static methods | 20 | 10.47% |
▷ Public methods | 141 | 73.82% |
▷ Protected methods | 35 | 18.32% |
▷ Private methods | 15 | 7.85% |
Functions | 12 | |
▷ Named functions | 3 | 25.00% |
▷ Anonymous functions | 9 | 75.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.02MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/assets/icon-256x256.png | 17.84KB | 18.72KB | 0.00% |
src/assets/icon-128x128.png | 7.54KB | 8.40KB | 0.00% |