Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼303.98ms] Passed 4 tests
Analyzing server-side resources used by AdBuilder WordPress Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 53.28 ▲2.12 |
Dashboard /wp-admin | 3.44 ▲0.03 | 33.00 ▲0.19 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 36.92 ▼0.01 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 90.39 ▼1,214.40 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 23.27 ▼1.69 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_adbuilderbiz_widget |
Browser metrics Passed 4 tests
AdBuilder WordPress Plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲10 | 15.91 ▼0.15 | 6.03 ▼0.37 | 2.26 ▼0.85 |
Dashboard /wp-admin | 2,892 ▲38 | 6.14 ▼0.02 | 117.69 ▼19.15 | 158.32 ▼6.30 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.23 ▼0.00 | 63.45 ▼0.11 | 137.14 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,661 ▼50 | 16.78 ▼4.55 | 402.57 ▼80.65 | 161.49 ▼1.75 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.49 ▼0.02 | 144.26 ▲3.34 | 188.56 ▼3.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- widget_adbuilderbiz_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adbuilder/adbuilder.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/adbuilder/adbuilderbiz.widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
There were not plugin tags detected
adbuilder/adbuilder.php 69% from 13 tests
The entry point to "AdBuilder WordPress Plugin" version 1.0.0.... is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 259 characters long)
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "1.0.0....")
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.2" instead of "7.0")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.3.2" instead of "5.2")
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
No dangerous file extensions were detected91 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 15 | 91 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin