Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼6.54ms] Passed 4 tests
Analyzing server-side resources used by Gosign - Accordion Slider Block
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.65 ▼9.89 |
Dashboard /wp-admin | 3.33 ▲0.03 | 41.35 ▼7.95 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.66 ▼2.93 |
Add New Post /wp-admin/post-new.php | 5.86 ▼0.03 | 102.30 ▼5.39 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.68 ▼0.79 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Gosign - Accordion Slider Block: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲210 | 13.67 ▼0.70 | 8.65 ▲6.65 | 43.34 ▼0.68 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.87 | 114.44 ▲7.58 | 50.99 ▲5.33 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.02 | 34.12 ▼0.42 | 33.10 ▼1.21 |
Add New Post /wp-admin/post-new.php | 6,424 ▲4,896 | 20.45 ▲2.45 | 965.23 ▲354.59 | 58.10 ▲5.27 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.16 ▼0.06 | 97.55 ▼2.30 | 41.27 ▼4.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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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)
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Requires php: The plugin version is formatted incorrectly
gosign-accordion-slider-block/gosign-accordion-slider-block.php Passed 13 tests
The entry point to "Gosign - Accordion Slider Block" version 2.0.1 is a PHP file that has certain tags in its header comment area
69 characters long description:
Vertical Accordion Slider Block With a little caption over each image
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin537 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 35 | 53 | 211 |
CSS | 5 | 27 | 16 | 180 |
PHP | 1 | 27 | 93 | 83 |
Markdown | 1 | 19 | 0 | 59 |
SVG | 1 | 0 | 0 | 4 |
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.08 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ 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 | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/vendor/lightbox2/images/next.png | 1.32KB | 1.58KB | 0.00% |
assets/vendor/lightbox2/images/prev.png | 1.33KB | 1.59KB | 0.00% |
assets/vendor/lightbox2/images/close.png | 0.27KB | 0.29KB | 0.00% |