Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.35ms] Passed 4 tests
A check of server-side resources used by bbPress - Mark as Read
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.06 ▼6.94 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.10 ▼5.01 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 45.96 ▼2.53 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 96.05 ▲4.38 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.01 ▲1.09 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for bbPress - Mark as Read
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.58 ▼0.81 | 1.70 ▼0.49 | 40.49 ▼6.05 |
Dashboard /wp-admin | 2,209 ▲24 | 4.85 ▼1.00 | 106.21 ▼2.11 | 42.68 ▼0.65 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▼0.00 | 40.24 ▲3.11 | 34.12 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,528 ▼8 | 18.31 ▼4.90 | 582.19 ▼94.82 | 51.52 ▼6.50 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.17 ▼0.08 | 93.88 ▼7.88 | 42.17 ▼4.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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 | 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/bbpress-mark-as-read/trunk/bbp-mark-as-read.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/bbpress-mark-as-read/bbp-mark-as-read.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Screenshot 1), #2 (Screenshot 2)
bbpress-mark-as-read/bbp-mark-as-read.php 92% from 13 tests
The entry point to "bbPress - Mark as Read" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("bbpress-mark-as-read.php" instead of "bbp-mark-as-read.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
Success! There were no dangerous files found in this plugin402 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 109 | 53 | 238 |
PO File | 5 | 33 | 55 | 146 |
JavaScript | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 58.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.43MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
trunk/screenshots-1.png | 64.75KB | 25.54KB | ▼ 60.56% |
trunk/screenshot-2.png | 89.78KB | 33.85KB | ▼ 62.30% |
screenshot-2.png | 89.78KB | 33.85KB | ▼ 62.30% |
screenshot-1.png | 64.75KB | 25.54KB | ▼ 60.56% |
screenshots-1.png | 64.75KB | 25.54KB | ▼ 60.56% |