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.09MB] [CPU: ▼3.89ms] Passed 4 tests
A check of server-side resources used by GBS Product Catalog
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 39.43 ▼1.34 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.94 ▼6.12 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.27 ▲0.27 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 93.51 ▼8.36 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.91 ▲1.53 |
Add New /wp-admin/post-new.php?post_type=gbspc-product | 6.07 | 83.15 |
GBS Products /wp-admin/edit.php?post_type=gbspc-product | 3.37 | 41.54 |
GBSPC Categories /wp-admin/edit-tags.php?taxonomy=gbspc-categories&post_type=gbspc-product | 3.31 | 33.40 |
GBS Product Catalog /wp-admin/options-general.php?page=gbscatalog | 3.29 | 32.40 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GBS Product Catalog
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 14.05 ▼0.32 | 5.29 ▲3.29 | 42.24 ▼0.65 |
Dashboard /wp-admin | 2,240 ▲49 | 5.84 ▼0.04 | 97.18 ▼1.09 | 40.89 ▼1.41 |
Posts /wp-admin/edit.php | 2,126 ▲40 | 2.00 ▼0.02 | 39.92 ▲4.64 | 33.67 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,563 ▲34 | 23.28 ▲0.18 | 640.50 ▲17.48 | 55.42 ▲3.10 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.23 ▲0.01 | 95.70 ▼5.22 | 43.89 ▼4.39 |
Add New /wp-admin/post-new.php?post_type=gbspc-product | 6,197 | 19.47 | 846.40 | 34.28 |
GBS Products /wp-admin/edit.php?post_type=gbspc-product | 1,141 | 1.95 | 30.29 | 31.63 |
GBSPC Categories /wp-admin/edit-tags.php?taxonomy=gbspc-categories&post_type=gbspc-product | 1,299 | 2.14 | 24.80 | 28.63 |
GBS Product Catalog /wp-admin/options-general.php?page=gbscatalog | 975 | 2.06 | 24.99 | 26.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/gbs-product-catalog/includes/taxonomy-gbspc-categories.php:5
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: business catalog business portfolio, simple portfolio, products showcase, project portfolio, simple catalog...
gbs-product-catalog/gbs-catalog.php 85% from 13 tests
The main file in "GBS Product Catalog" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gbs-product-catalog.php" instead of "gbs-catalog.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 172 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin624 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 58 | 33 | 442 |
CSS | 2 | 1 | 1 | 182 |
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.21 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin