Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/binlayercom-blog-banner/binlayer.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; BannerBinlayerWidget has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼54.52ms] Passed 4 tests
An overview of server-side resources used by Binlayer.com Blog-Banner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.62 ▼35.25 |
Dashboard /wp-admin | 2.08 ▼1.23 | 5.57 ▼43.07 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 6.18 ▼43.97 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.47 ▼95.78 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.56 ▼28.98 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_bannerbinlayerwidget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Binlayer.com Blog-Banner
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▲0.36 | 1.70 ▲0.02 | 44.21 ▼2.33 |
Dashboard /wp-admin | 2,206 ▲15 | 4.86 ▼0.05 | 112.74 ▲8.02 | 44.74 ▲2.25 |
Posts /wp-admin/edit.php | 2,068 ▼24 | 2.05 ▲0.05 | 34.99 ▼5.16 | 30.75 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.53 ▲0.37 | 682.56 ▼95.64 | 57.50 ▼6.17 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.25 ▼0.08 | 99.21 ▼13.88 | 45.00 ▼5.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/binlayercom-blog-banner/binlayer.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; BannerBinlayerWidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_bannerbinlayerwidget
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/binlayercom-blog-banner/binlayer.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
3 plugin tags: binlayer, ads, banner
binlayercom-blog-banner/binlayer.php 92% from 13 tests
The principal PHP file in "Binlayer.com Blog-Banner" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("binlayercom-blog-banner.php" instead of "binlayer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected47 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 10 | 47 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin