Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼14.35ms] Passed 4 tests
Server-side resources used by GBoost
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 33.72 ▼13.32 |
Dashboard /wp-admin | 3.36 ▲0.01 | 42.78 ▼18.52 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 43.04 ▼7.07 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.10 ▼18.47 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.71 ▲2.32 |
Add New portfolio /wp-admin/post-new.php?post_type=gboost-portfolio | 3.40 | 44.28 |
All portfolio /wp-admin/edit.php?post_type=gboost-portfolio | 3.33 | 33.33 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for GBoost
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.18 ▼1.17 | 3.93 ▲2.34 | 37.18 ▼3.83 |
Dashboard /wp-admin | 2,230 ▲42 | 5.84 ▼0.09 | 96.13 ▼5.98 | 35.56 ▼9.16 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.99 ▼0.01 | 39.43 ▼0.12 | 35.57 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 18.37 ▲0.25 | 595.28 ▼44.66 | 51.43 ▲2.91 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.18 ▼0.06 | 96.67 ▼2.49 | 42.43 ▼4.93 |
Add New portfolio /wp-admin/post-new.php?post_type=gboost-portfolio | 2,166 | 7.52 | 181.47 | 65.36 |
All portfolio /wp-admin/edit.php?post_type=gboost-portfolio | 1,086 | 1.99 | 33.03 | 30.45 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/gboost/includes/shortcode.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gboost/includes/protfolio-post.php:51
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (GBoost backend editor.), #2 (GBoost front display .)
- Donate link: Please fix this invalid URI: ""
gboost/gboost.php Passed 13 tests
The primary PHP file in "GBoost" version 1.0.1 is used by WordPress to initiate all plugin functionality
28 characters long description:
Helper plugin for Gute theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected197 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 124 | 147 |
CSS | 1 | 9 | 5 | 50 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 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
No PNG files were detected