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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.40ms] Passed 4 tests
An overview of server-side resources used by Easy Flexslider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 33.95 ▼6.01 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.80 ▼3.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.58 ▼6.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.27 ▼21.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.64 ▼0.54 |
Server storage [IO: ▲1.82MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Flexslider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.64 ▼0.99 | 6.29 ▲4.55 | 39.67 ▼2.73 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.08 | 118.56 ▲17.07 | 36.82 ▼5.66 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.03 | 39.03 ▼6.00 | 36.05 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,534 ▼9 | 23.07 ▲4.83 | 581.71 ▼22.70 | 56.73 ▼0.88 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.07 | 93.57 ▼8.12 | 42.75 ▼1.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
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)
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-flexslider/easy-flexslider.php
- > /wp-content/plugins/easy-flexslider/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: "andrewmgunn.com/donate"
easy-flexslider/easy-flexslider.php Passed 13 tests
The main PHP file in "Easy Flexslider" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
41 characters long description:
Adds support for Flexslider to your site.
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
Success! There were no dangerous files found in this plugin5,130 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 13 | 224 | 71 | 1,720 |
JavaScript | 12 | 178 | 295 | 1,278 |
SVG | 4 | 0 | 0 | 1,252 |
CSS | 2 | 25 | 79 | 550 |
LESS | 8 | 179 | 70 | 298 |
PHP | 2 | 13 | 16 | 32 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/flexslider/images/bg_play_pause.png | 1.51KB | 0.52KB | ▼ 65.52% |
inc/flexslider/demo/images/logo.png | 3.49KB | 2.21KB | ▼ 36.76% |