Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼12.11ms] Passed 4 tests
Analyzing server-side resources used by AXP Bootstrap Gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.33 ▼0.57 |
Dashboard /wp-admin | 3.39 ▲0.05 | 39.60 ▼20.24 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 45.81 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 76.25 ▼22.95 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 31.81 ▼4.68 |
Bootstrap Gallery /wp-admin/options-general.php?page=axp-bootstrap-gallery | 3.28 | 28.29 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
axp-bootstrap-gallery-fields |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for AXP Bootstrap Gallery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▼0.37 | 1.63 ▲0.03 | 36.31 ▼5.15 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▼0.06 | 98.42 ▲8.74 | 41.76 ▲3.40 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.04 | 40.26 ▲1.44 | 36.11 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.26 ▼0.27 | 672.78 ▼1.37 | 70.03 ▲19.74 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.04 | 93.68 ▼7.44 | 40.51 ▼5.73 |
Bootstrap Gallery /wp-admin/options-general.php?page=axp-bootstrap-gallery | 976 | 2.00 | 29.99 | 38.82 |
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 detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- axp-bootstrap-gallery-fields
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
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/axp-bootstrap-gallery/axp-bootstrap-gallery.php:38
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Example gallery) image missing
- Tags: You are using too many tags: 11 tag instead of maximum 10
axp-bootstrap-gallery/axp-bootstrap-gallery.php Passed 13 tests
The primary PHP file in "AXP Bootstrap Gallery" version 1.0.0 is used by WordPress to initiate all plugin functionality
37 characters long description:
Adds the markup Bootstrap for gallery
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin451 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 22 | 365 |
PO File | 1 | 33 | 33 | 81 |
Markdown | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 19.71KB | 9.74KB | ▼ 50.57% |