Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.64MB] [CPU: ▲4.91ms] Passed 4 tests
Analyzing server-side resources used by FA Lite - WP responsive slider plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.33 | 39.92 ▲0.61 |
Dashboard /wp-admin | 4.05 ▲0.75 | 52.40 ▲6.74 |
Posts /wp-admin/edit.php | 4.10 ▲0.75 | 53.56 ▲7.46 |
Add New Post /wp-admin/post-new.php | 6.72 ▲0.84 | 103.98 ▲6.56 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 41.00 ▲5.71 |
Custom slides PRO /wp-admin/edit.php?post_type=fa_slider&page=custom_slides_list | 3.87 | 35.02 |
Settings /wp-admin/edit.php?post_type=fa_slider&page=fapro_settings | 3.93 | 35.27 |
Dynamic areas PRO /wp-admin/edit.php?post_type=fa_slider&page=fapro_hooks | 3.87 | 38.30 |
Add new /wp-admin/post-new.php?post_type=fa_slider | 4.38 | 50.78 |
Themes PRO /wp-admin/edit.php?post_type=fa_slider&page=fapro_themes | 3.87 | 34.82 |
Sliders /wp-admin/edit.php?post_type=fa_slider | 4.01 | 39.54 |
Slide groups PRO /wp-admin/edit.php?post_type=fa_slider&page=custom_slide_groups | 3.87 | 33.62 |
/wp-admin/admin.php?page=fa-mixed-content-modal | 4.12 | 43.14 |
/wp-admin/admin.php?page=fa-tax-modal | 3.97 | 42.36 |
New slide PRO /wp-admin/edit.php?post_type=fa_slider&page=custom_slide_add | 3.87 | 32.65 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 109 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
category_children |
widget_fa-slideshow-widget |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
fa_plugin_options |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for FA Lite - WP responsive slider plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲133 | 13.21 ▼1.17 | 1.65 ▼0.06 | 40.07 ▼6.12 |
Dashboard /wp-admin | 2,274 ▲86 | 4.92 ▼0.16 | 104.78 ▼11.69 | 69.85 ▲24.86 |
Posts /wp-admin/edit.php | 2,157 ▲71 | 1.99 ▼0.02 | 37.87 ▲2.23 | 33.73 ▲0.09 |
Add New Post /wp-admin/post-new.php | 6,984 ▲5,446 | 26.58 ▲3.40 | 971.67 ▲325.90 | 84.57 ▲33.29 |
Media Library /wp-admin/upload.php | 1,453 ▲71 | 4.21 ▲0.03 | 95.45 ▼4.47 | 72.55 ▲29.18 |
Custom slides PRO /wp-admin/edit.php?post_type=fa_slider&page=custom_slides_list | 837 | 2.22 | 25.51 | 31.76 |
Settings /wp-admin/edit.php?post_type=fa_slider&page=fapro_settings | 1,510 | 2.02 | 41.36 | 48.46 |
Dynamic areas PRO /wp-admin/edit.php?post_type=fa_slider&page=fapro_hooks | 854 | 2.03 | 26.05 | 27.09 |
Add new /wp-admin/post-new.php?post_type=fa_slider | 3,672 | 3.26 | 72.18 | 94.44 |
Themes PRO /wp-admin/edit.php?post_type=fa_slider&page=fapro_themes | 833 | 2.06 | 27.26 | 27.40 |
Sliders /wp-admin/edit.php?post_type=fa_slider | 1,155 | 1.98 | 33.39 | 30.34 |
Slide groups PRO /wp-admin/edit.php?post_type=fa_slider&page=custom_slide_groups | 835 | 2.03 | 25.36 | 25.41 |
/wp-admin/admin.php?page=fa-mixed-content-modal | 1,038 | 2.19 | 25.14 | 23.65 |
/wp-admin/admin.php?page=fa-tax-modal | 927 | 2.08 | 25.44 | 21.10 |
New slide PRO /wp-admin/edit.php?post_type=fa_slider&page=custom_slide_add | 851 | 2.02 | 23.26 | 24.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- can_compress_scripts
- widget_fa-slideshow-widget
- fa_plugin_options
- theysaidso_admin_options
- category_children
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 31× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/featured-articles-lite/includes/libs/class-fa-widgets.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function fa_get_path() in wp-content/plugins/featured-articles-lite/includes/admin/libs/class-fa-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_slider_theme_options() in wp-content/plugins/featured-articles-lite/themes/simple/display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/featured-articles-lite/index.php:33
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/featured-articles-lite/views/metabox-slider-theme.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/featured-articles-lite/views/metabox-slider-code.php:9
- > PHP Notice
Undefined variable: options in wp-content/plugins/featured-articles-lite/views/metabox-slider-theme.php on line 3
- > PHP Notice
Undefined variable: options in wp-content/plugins/featured-articles-lite/views/metabox-slider-content.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/featured-articles-lite/includes/admin/libs/class-fa-taxonomies-list-table.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/featured-articles-lite/views/metabox-slide-settings.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: wordpress slider, responsive slider, wordpress slider plugin, custom post slider
featured-articles-lite/index.php 77% from 13 tests
The main file in "FA Lite - WP responsive slider plugin" v. 3.1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("featured-articles-lite.php" instead of "index.php")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
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 plugin12,207 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 1,121 | 2,350 | 7,566 |
JavaScript | 27 | 593 | 641 | 3,105 |
CSS | 22 | 100 | 128 | 1,536 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 41.87 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 4.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 163 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 142 | 87.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 12.88% |
Functions | 128 | |
▷ Named functions | 128 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/nivo_slider/images/bar/bullets.png | 1.25KB | 1.08KB | ▼ 13.74% |
assets/admin/js/tinymce/fa_slider/ico.png | 0.71KB | 0.65KB | ▼ 8.38% |
assets/admin/images/icon.png | 0.71KB | 0.65KB | ▼ 8.38% |
themes/nivo_slider/images/default/arrows.png | 0.80KB | 0.51KB | ▼ 36.53% |
themes/nivo_slider/images/dark/arrows.png | 3.02KB | 0.38KB | ▼ 87.27% |