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: ▼7.02ms] Passed 4 tests
This is a short check of server-side resources used by TC flexslider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.57 ▼3.90 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.47 ▼13.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.21 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.34 ▼10.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.87 ▲0.74 |
Add New Slider /wp-admin/post-new.php?post_type=tcflexslider | 3.39 | 60.48 |
Help & Upgrade /wp-admin/edit.php?post_type=tcflexslider&page=tc_flexslider_menu_help | 3.24 | 29.20 |
All Sliders /wp-admin/edit.php?post_type=tcflexslider | 3.30 | 35.16 |
Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for TC flexslider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲176 | 13.63 ▼0.77 | 6.53 ▲4.46 | 42.74 ▼0.51 |
Dashboard /wp-admin | 2,240 ▲52 | 4.85 ▼0.03 | 109.16 ▼6.19 | 37.10 ▼8.07 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.05 | 39.35 ▲3.53 | 35.15 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 17.78 ▼5.86 | 623.93 ▼57.75 | 54.41 ▼3.02 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.28 ▲0.01 | 102.56 ▼0.59 | 43.82 ▼2.95 |
Add New Slider /wp-admin/post-new.php?post_type=tcflexslider | 1,698 | 3.79 | 69.63 | 32.05 |
Help & Upgrade /wp-admin/edit.php?post_type=tcflexslider&page=tc_flexslider_menu_help | 782 | 2.18 | 26.30 | 25.49 |
All Sliders /wp-admin/edit.php?post_type=tcflexslider | 1,109 | 1.93 | 30.25 | 31.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tc-flexslider/lib/tc-flexslider-help-upgrade.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tc-flexslider/public/tc-flexslider-view-old.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tc-flexslider/public/tc-flexslider-view.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tc-flexslider/lib/tc-flexslider-column.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tc-flexslider/lib/tc-flexslider-cpt.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/tc-flexslider/tc-flexslider.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Final output after adding shortcode .), #2 (TC flexslider > Add New Logo. Then fill the respective fields.), #3 (Add the [tc-flexslider] shortcode in any page . .)
tc-flexslider/tc-flexslider.php Passed 13 tests
The main file in "TC flexslider" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
13 characters long description:
TC flexslider
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
No dangerous file extensions were detected1,407 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 131 | 124 | 940 |
CSS | 2 | 2 | 26 | 263 |
PHP | 7 | 73 | 30 | 185 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendors/flexslider/images/bg_play_pause.png | 1.51KB | 0.52KB | ▼ 65.52% |