Benchmarks
Plugin footprint 65% 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.77MB] [CPU: ▼3.62ms] Passed 4 tests
This is a short check of server-side resources used by GLMall
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.79 | 46.35 ▲7.51 |
Dashboard /wp-admin | 4.09 ▲0.74 | 51.78 ▼6.88 |
Posts /wp-admin/edit.php | 4.14 ▲0.78 | 52.16 ▼1.02 |
Add New Post /wp-admin/post-new.php | 6.67 ▲0.78 | 92.11 ▼14.10 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 45.38 ▲8.41 |
GLMall /wp-admin/admin.php?page=push-products | 3.99 | 35.87 |
GLMall Settings /wp-admin/admin.php?page=glmall-settings | 3.99 | 44.70 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_glmall_products_map |
wp_glmall_settings |
wp_glmall_products_sync_hostory |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
glmall_plugin_version |
widget_theysaidso_widget |
widget_recent-posts |
glmall_activated |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by GLMall
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲121 | 13.70 ▼0.91 | 1.73 ▼0.14 | 36.76 ▼2.99 |
Dashboard /wp-admin | 2,259 ▲71 | 5.83 ▲0.92 | 94.86 ▼13.65 | 72.66 ▲29.83 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.01 ▲0.02 | 35.77 ▼3.34 | 34.34 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,564 ▲45 | 18.47 ▼4.86 | 691.01 ▲38.83 | 80.42 ▲29.92 |
Media Library /wp-admin/upload.php | 1,441 ▲50 | 4.25 ▲0.01 | 102.95 ▲1.30 | 77.94 ▲31.85 |
GLMall /wp-admin/admin.php?page=push-products | 845 | 2.03 | 27.96 | 30.02 |
GLMall Settings /wp-admin/admin.php?page=glmall-settings | 841 | 2.06 | 26.19 | 24.99 |
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
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_glmall_settings
- wp_glmall_products_sync_hostory
- wp_glmall_products_map
- Zombie WordPress options detected upon uninstall: 7 options
- glmall_plugin_version
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=glmall-settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=glmall-settings 187:51 Uncaught TypeError: Cannot read properties of null (reading 'checked')
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: ecommerce, glmall, glmall for woocommerce, glbrain
glmall/glmall.php Passed 13 tests
The primary PHP file in "GLMall" version 1.0.0 is used by WordPress to initiate all plugin functionality
23 characters long description:
GLMall for WooCommerce.
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
Success! There were no dangerous files found in this plugin4,125 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 1,332 | 1,490 | 3,800 |
Markdown | 1 | 80 | 0 | 320 |
CSS | 2 | 0 | 5 | 2 |
SVG | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 26.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 186 | |
▷ Static methods | 26 | 13.98% |
▷ Public methods | 146 | 78.49% |
▷ Protected methods | 8 | 4.30% |
▷ Private methods | 32 | 17.20% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 35 | |
▷ Global constants | 12 | 34.29% |
▷ Class constants | 23 | 65.71% |
▷ Public constants | 23 | 100.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
There are no PNG files in this plugin