Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.85ms] Passed 4 tests
Analyzing server-side resources used by Arconix Flexslider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.54 ▼0.10 |
Dashboard /wp-admin | 3.49 ▲0.19 | 119.84 ▲64.41 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.77 ▼19.87 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 91.89 ▼10.34 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.22 ▲2.93 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_arconix-flexslider |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Arconix Flexslider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.28 ▼1.10 | 4.88 ▲3.13 | 42.04 ▼0.39 |
Dashboard /wp-admin | 2,279 ▲79 | 5.82 ▲0.95 | 100.60 ▼6.82 | 40.75 ▼4.08 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.05 | 35.76 ▼3.33 | 33.41 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,408 ▼145 | 17.97 ▼5.36 | 613.05 ▲14.49 | 45.92 ▼12.50 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.29 ▲0.07 | 111.90 ▲2.25 | 46.51 ▼0.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_arconix-flexslider
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/arconix-flexslider/includes/class-arconix-flexslider-widget.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arconix-flexslider/plugin.php:84
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: portfolio, responsive, testimonial, slider, carousel...
arconix-flexslider/plugin.php 92% from 13 tests
The main PHP script in "Arconix Flexslider" version 1.1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("arconix-flexslider.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin917 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 118 | 281 | 406 |
LESS | 5 | 55 | 112 | 265 |
CSS | 2 | 2 | 18 | 163 |
JavaScript | 3 | 6 | 12 | 83 |
PHP code Passed 2 tests
Analyzing 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.26 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.52MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/css/images/trello-16x16.png | 1.43KB | 0.82KB | ▼ 42.64% |
screenshot-3.png | 10.46KB | 5.71KB | ▼ 45.38% |
includes/css/images/page-16x16.png | 0.33KB | 0.46KB | 0.00% |
screenshot-4.png | 438.59KB | 131.14KB | ▼ 70.10% |
screenshot-1.png | 42.96KB | 13.05KB | ▼ 69.62% |