Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲518.69ms] 75% from 4 tests
Analyzing server-side resources used by GothAmazon
The following require your attention
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 518.69ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 339.06 ▲302.37 |
Dashboard /wp-admin | 3.46 ▲0.11 | 658.81 ▲595.93 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 636.06 ▲586.35 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 675.52 ▲590.10 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 691.81 ▲656.91 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 165 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GothAmazon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲172 | 14.38 ▲0.13 | 1.71 ▼0.17 | 41.56 ▲3.90 |
Dashboard /wp-admin | 2,349 ▲171 | 6.00 ▲0.28 | 96.60 ▼18.94 | 39.27 ▼6.05 |
Posts /wp-admin/edit.php | 2,256 ▲156 | 2.26 ▲0.31 | 35.30 ▼7.35 | 33.56 ▼4.11 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 21.02 ▼2.38 | 587.30 ▼53.74 | 27.19 ▼26.21 |
Media Library /wp-admin/upload.php | 1,554 ▲157 | 4.39 ▲0.22 | 109.07 ▲5.97 | 43.26 ▼2.73 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 50× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: domainname in wp-content/plugins/gothamazon/eco.php on line 36
- > PHP Notice
Undefined variable: parachute in wp-content/plugins/gothamazon/eco_asin.php on line 92
- > PHP Notice
Undefined variable: link in wp-content/plugins/gothamazon/eco_asin.php on line 198
- > PHP Notice
Undefined index: HTTP_ACCEPT in wp-content/plugins/gothamazon/inc/vmob.php on line 9
- > PHP Notice
Undefined variable: parachute in wp-content/plugins/gothamazon/eco.php on line 134
- > PHP Notice
Undefined variable: prixmin in wp-content/plugins/gothamazon/eco.php on line 36
- > PHP Notice
Undefined variable: categoryprecise in wp-content/plugins/gothamazon/eco.php on line 36
- > PHP Notice
Undefined variable: domainname in wp-content/plugins/gothamazon/eco_asin.php on line 36
- > PHP Notice
Undefined variable: nkw_s in wp-content/plugins/gothamazon/eco.php on line 36
- > PHP Notice
Undefined variable: zipq in wp-content/plugins/gothamazon/eco.php on line 44
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== GothAmazon===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.png. Note that the screenshot is taken from the directory that contains the stable readme.txt.), #2 (This screen shot description corresponds to screenshot-2.png. Note that the screenshot is taken from the directory that contains the stable readme.txt.), #3 (This screen shot description corresponds to screenshot-3.png. Note that the screenshot is taken from the directory that contains the stable readme.txt.), #4 (This screen shot description corresponds to screenshot-4.png. Note that the screenshot is taken from the directory that contains the stable readme.txt.), #5 (This screen shot description corresponds to screenshot-5.png. Note that the screenshot is taken from the directory that contains the stable readme.txt.), #6 (This screen shot description corresponds to screenshot-6.png. Note that the screenshot is taken from the directory that contains the stable readme.txt.)
gothamazon/gothamzone.php 85% from 13 tests
The main PHP script in "GothAmazon" version 3.1.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gothamazon.php" instead of "gothamzone.php")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.2.4" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected9,203 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 2,448 | 376 | 6,240 |
JavaScript | 6 | 82 | 22 | 2,955 |
SVG | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 60.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 9.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 28.57% |
Functions | 46 | |
▷ Named functions | 42 | 91.30% |
▷ Anonymous functions | 4 | 8.70% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
133 PNG files occupy 0.57MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/karl-lagerfeld-fr.png | 4.72KB | 2.72KB | ▼ 42.46% |
img/izac.png | 3.99KB | 2.15KB | ▼ 46.10% |
img/vichy-fr.png | 4.78KB | 2.63KB | ▼ 44.93% |
img/wiggle-fr.png | 4.32KB | 2.42KB | ▼ 44.04% |
img/ama_icon.png | 4.34KB | 1.83KB | ▼ 57.78% |