Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▲4.67ms] 75% from 4 tests
This is a short check of server-side resources used by NEO Bootstrap Carousel
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 502.56ms on /wp-admin/admin.php?page=neo-bootstrap-carousel-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 54.46 ▲8.62 |
Dashboard /wp-admin | 3.44 ▲0.14 | 67.15 ▲12.34 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 61.36 ▲6.27 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 100.35 ▼3.06 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 44.39 ▲6.83 |
System Requirements /wp-admin/admin.php?page=neo-bootstrap-carousel-system-requirements | 3.41 | 495.50 |
Help /wp-admin/admin.php?page=neo-bootstrap-carousel-help | 3.39 | 490.60 |
Sliders /wp-admin/edit.php?post_type=neo_carousel | 3.39 | 48.62 |
Settings /wp-admin/admin.php?page=neo-bootstrap-carousel-settings | 3.40 | 502.56 |
Welcome /wp-admin/admin.php?page=neo-bootstrap-carousel-welcome | 3.40 | 496.68 |
Changelog /wp-admin/admin.php?page=neo-bootstrap-carousel-changelog | 3.38 | 486.23 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
nbc_design_settings |
widget_recent-posts |
widget_recent-comments |
nbc_advanced_settings |
nbc_general_settings |
can_compress_scripts |
theysaidso_admin_options |
_nbc_plugin_version |
db_upgraded |
Browser metrics Passed 4 tests
NEO Bootstrap Carousel: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,240 ▲479 | 23.81 ▲9.21 | 208.43 ▲206.48 | 90.07 ▲46.96 |
Dashboard /wp-admin | 2,383 ▲209 | 6.43 ▲0.73 | 100.01 ▼0.79 | 36.76 ▼9.43 |
Posts /wp-admin/edit.php | 2,322 ▲219 | 3.59 ▲1.56 | 52.00 ▲9.30 | 30.87 ▼7.39 |
Add New Post /wp-admin/post-new.php | 6,237 ▲4,711 | 19.00 ▲1.44 | 885.18 ▲180.45 | 38.42 ▼22.61 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.46 ▲0.28 | 84.94 ▼24.15 | 43.22 ▼0.42 |
System Requirements /wp-admin/admin.php?page=neo-bootstrap-carousel-system-requirements | 1,198 | 3.36 | 38.54 | 79.08 |
Help /wp-admin/admin.php?page=neo-bootstrap-carousel-help | 1,163 | 3.30 | 39.88 | 80.88 |
Sliders /wp-admin/edit.php?post_type=neo_carousel | 1,288 | 3.80 | 46.34 | 28.07 |
Settings /wp-admin/admin.php?page=neo-bootstrap-carousel-settings | 1,576 | 3.57 | 50.70 | 86.17 |
Welcome /wp-admin/admin.php?page=neo-bootstrap-carousel-welcome | 1,277 | 3.34 | 41.28 | 96.21 |
Changelog /wp-admin/admin.php?page=neo-bootstrap-carousel-changelog | 1,281 | 3.26 | 40.80 | 81.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 10 options in the database
- nbc_design_settings
- theysaidso_admin_options
- nbc_advanced_settings
- db_upgraded
- widget_theysaidso_widget
- nbc_general_settings
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- _nbc_plugin_version
Smoke tests 50% 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 0% 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/neo-bootstrap-carousel/admin/partials/meta-box/neo-bootstrap-carousel-media-display.php
- 36× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/neo-bootstrap-carousel/includes/admin/settings/class-neo-bootstrap-carousel-general.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/neo-bootstrap-carousel/admin/partials/neo-bootstrap-carousel-help.php:17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/neo-bootstrap-carousel/public/partials/neo-bootstrap-carousel-public-display.php on line 15
- > PHP Notice
Undefined variable: neo_bootstrap_carousel in wp-content/plugins/neo-bootstrap-carousel/admin/partials/meta-box/neo-bootstrap-carousel-media-display.php on line 18
- > PHP Notice
Undefined variable: slide_data in wp-content/plugins/neo-bootstrap-carousel/public/partials/neo-bootstrap-carousel-public-display.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neo-bootstrap-carousel/includes/admin/class-neo-bootstrap-carousel-changelog.php:34
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/neo-bootstrap-carousel/public/partials/neo-bootstrap-carousel-public-display.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neo-bootstrap-carousel/includes/class-neo-bootstrap-carousel-meta-box.php:131
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neo-bootstrap-carousel/includes/admin/class-neo-bootstrap-carousel-help.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/neo-bootstrap-carousel/includes/functions/neo-bootstrap-carousel-formatting-functions.php:90
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: responsive content slideshow, responsive slider, wordpress responsive bootstrap carousel, wordpress horizontal slider
neo-bootstrap-carousel/neo-bootstrap-carousel.php Passed 13 tests
The primary PHP file in "NEO Bootstrap Carousel" version 1.4.3 is used by WordPress to initiate all plugin functionality
107 characters long description:
A clean, simple & robust implementation of the Twitter Bootstrap Carousel in WordPress site in elegant way.
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
Good job! No executable or dangerous file extensions detected12,343 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,412 | 447 | 5,556 |
CSS | 3 | 531 | 140 | 4,925 |
PHP | 37 | 367 | 1,381 | 1,849 |
SVG | 2 | 1 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 5.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 6 | 8.45% |
▷ Public methods | 66 | 92.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.04% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/neo-bootstrap-carousel-logo.png | 23.61KB | 9.56KB | ▼ 59.52% |
admin/images/design-settings.png | 6.67KB | 3.08KB | ▼ 53.83% |
admin/images/rating-box/heart.png | 8.04KB | 3.92KB | ▼ 51.15% |
admin/images/nbc-icon.png | 1.09KB | 0.23KB | ▼ 79.04% |
admin/images/rating-box/star.png | 8.88KB | 4.00KB | ▼ 54.94% |