Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Error in wp-content/plugins/w2pe-beaverslider/index.php+43
Uncaught Error: Call to undefined function mysql_query() in /var/www/wordpress/wp-content/plugins/w2pe-beaverslider/index.php:43Stack trace:#0 /var/www/wordpress/wp-includes/class-wp-hook.php(303): w2pe_bslider_table()#1 /var/www/wordpress/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()#2 /var/www/wordpress/wp-includes/plugin.php(470): WP_Hook->do_action()#3 /var/www/wordpress/wp-admin/includes/plugin.php(698): do_action()#4 /var/www/wordpress/wp-admin/wp-api.php(368): activate_plugin()#5 /var/www/wordpress/wp-admin/wp-api.php(128): Potrivit_Wp_Api->pluginActivate()#6 /var/www/wordpress/wp-admin/wp-api.php(478): Potrivit_Wp_Api->_executeMethod()#7 /var/www/wordpress/wp-admin/wp-api.php(511): Potrivit_Wp_Api->run()#8 {main}thrown
Server metrics [RAM: ▼0.00MB] [CPU: ▼270.41ms] Passed 4 tests
This is a short check of server-side resources used by w2pe Beaver Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.11 | 33.72 ▲10.76 |
Dashboard /wp-admin | 3.06 ▲0.00 | 41.44 ▼1.35 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 42.73 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 91.45 ▼1,071.22 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 28.86 ▼11.01 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: 1 new table, no new options
New tables |
---|
wp_bslider_images |
Browser metrics Passed 4 tests
This is an overview of browser requirements for w2pe Beaver Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲69 | 16.18 ▲0.34 | 7.35 ▼3.48 | 46.75 ▲0.00 |
Dashboard /wp-admin | 2,934 ▲84 | 5.96 ▲0.11 | 132.43 ▲0.50 | 99.03 ▼4.80 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▼0.01 | 64.05 ▼4.87 | 90.24 ▼10.87 |
Add New Post /wp-admin/post-new.php | 1,853 ▼0 | 18.91 ▼0.22 | 363.08 ▼19.97 | 108.53 ▲4.04 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 5.05 ▲0.06 | 149.30 ▲2.29 | 113.53 ▼2.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/w2pe-beaverslider/support.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/w2pe-beaverslider/bslider_images.php on line 45
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/w2pe-beaverslider/index.php:19
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/w2pe-beaverslider/bslider_images.php on line 43
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/w2pe-beaverslider/bslider_setting.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/w2pe-beaverslider/bslider_images.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/w2pe-beaverslider/slider.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/w2pe-beaverslider/bslider_effect.php:6
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== w2pe-beaverslider ===
)
w2pe-beaverslider/index.php 92% from 13 tests
The main PHP script in "w2pe Beaver Slider" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("w2pe-beaverslider.php" instead of "index.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
Everything looks great! No dangerous files found in this plugin773 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 104 | 36 | 693 |
CSS | 2 | 8 | 18 | 80 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 12 | |
▷ Named functions | 12 | 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 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/edit.png | 0.34KB | 0.39KB | 0.00% |
images/menu.png | 0.97KB | 0.17KB | ▼ 82.38% |
images/delete.png | 0.27KB | 0.37KB | 0.00% |