Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼291.20ms] Passed 4 tests
Analyzing server-side resources used by LBK Sticky Adsense
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 63.34 ▲3.81 |
Dashboard /wp-admin | 3.46 ▲0.05 | 37.49 ▼10.42 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 42.52 ▼0.47 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 102.68 ▼1,153.30 |
Media Library /wp-admin/upload.php | 3.33 ▲0.04 | 26.59 ▼0.60 |
LBK Sticky Adsense /wp-admin/options-general.php?page=lbk-sticky_adsense | 3.32 | 26.82 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for LBK Sticky Adsense
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,790 ▲46 | 16.15 ▲0.37 | 6.20 ▲0.02 | 2.21 ▼0.14 |
Dashboard /wp-admin | 2,893 ▲32 | 6.21 ▲0.02 | 119.85 ▼20.11 | 228.92 ▲65.63 |
Posts /wp-admin/edit.php | 2,696 ▲26 | 3.23 ▼0.02 | 64.42 ▼49.04 | 141.61 ▼12.05 |
Add New Post /wp-admin/post-new.php | 1,755 ▲3 | 21.56 ▲0.72 | 466.64 ▼6.71 | 204.90 ▲38.36 |
Media Library /wp-admin/upload.php | 1,696 ▲1 | 5.54 ▲0.00 | 168.83 ▲10.26 | 194.56 ▲9.56 |
LBK Sticky Adsense /wp-admin/options-general.php?page=lbk-sticky_adsense | 1,230 | 2.56 | 59.83 | 160.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 task of outputting text when accessed with GET requests:
- > /wp-content/plugins/lbk-sticky-adsense/lbk_sticky_adsense.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/lbk-sticky-adsense/includes/inc.admin-options-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (The General section of the settings.) image not found
lbk-sticky-adsense/lbk_sticky_adsense.php 77% from 13 tests
The main PHP file in "LBK Sticky Adsense" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("1.0.0" instead of "1.1.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("lbk-sticky-adsense.php" instead of "lbk_sticky_adsense.php")
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin288 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 50 | 199 | 272 |
JavaScript | 1 | 2 | 1 | 16 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 15 | |
▷ Static methods | 6 | 40.00% |
▷ Public methods | 11 | 73.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 26.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.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
There were not PNG files found in your plugin