Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼11.29ms] Passed 4 tests
An overview of server-side resources used by bbpress Simple Advert Units
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.81 ▼6.91 |
Dashboard /wp-admin | 3.38 ▲0.03 | 52.44 ▼17.91 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 52.69 ▲4.20 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.27 ▼20.51 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.46 ▲0.19 |
Ad Units /wp-admin/edit.php?post_type=forum&page=bbp_simpleadvertunits_menu | 3.08 | 23.55 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
bbp_simpleadvertunits_options |
widget_theysaidso_widget |
bbp_simpleadvertunits_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for bbpress Simple Advert Units
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.43 | 1.88 ▼0.16 | 41.34 ▼3.06 |
Dashboard /wp-admin | 2,203 ▲15 | 5.76 ▲0.93 | 97.72 ▼11.09 | 39.96 ▼7.11 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.01 | 39.12 ▲3.68 | 36.10 ▼1.63 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.67 ▼5.59 | 693.84 ▲9.41 | 60.15 ▼0.21 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.13 ▼0.10 | 100.12 ▲0.16 | 44.28 ▲0.04 |
Ad Units /wp-admin/edit.php?post_type=forum&page=bbp_simpleadvertunits_menu | 28 | 0.44 | 0.07 | 3.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- bbp_simpleadvertunits_options
- bbp_simpleadvertunits_version
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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 trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/bbpress-simple-advert-units/bbpress-simple-advert-units.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=forum&page=bbp_simpleadvertunits_menu
- > Network (severe)
wp-admin/edit.php?post_type=forum&page=bbp_simpleadvertunits_menu - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== bbpress-simple-advert-units ===
) - Screenshots: Please add images for these screenshots: #3 (Where to create ad units), #4 (The plugin admin page), #5 (Creating a new unit)
- Tags: You are using too many tags: 12 tag instead of maximum 10
bbpress-simple-advert-units/bbpress-simple-advert-units.php Passed 13 tests
The main file in "bbpress Simple Advert Units" v. 0.41 serves as a complement to information provided in readme.txt and as the entry point to the plugin
41 characters long description:
Insert ad units into your bbPress 2 forum
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected347 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 196 | 74 | 347 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 15 | |
▷ Named functions | 15 | 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