Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.67ms] Passed 4 tests
This is a short check of server-side resources used by bbPress - Sort topic replies
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 32.85 ▼11.06 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.86 ▼2.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.71 ▲2.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.03 ▲12.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.92 ▲0.04 |
Forums Sort Options /wp-admin/options-general.php?page=forums_sort_options | 3.20 | 32.47 |
Server storage [IO: ▲0.02MB] [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, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for bbPress - Sort topic replies
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▼21 | 14.43 ▲1.25 | 1.69 ▼0.18 | 39.48 ▼5.01 |
Dashboard /wp-admin | 2,204 ▲1 | 4.86 ▼1.00 | 106.05 ▲11.09 | 41.71 ▲2.17 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.07 | 39.22 ▲5.51 | 35.59 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.31 ▲0.29 | 662.56 ▼9.43 | 49.68 ▼2.79 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.14 ▼0.11 | 106.91 ▲7.88 | 45.75 ▲1.80 |
Forums Sort Options /wp-admin/options-general.php?page=forums_sort_options | 894 | 2.18 | 24.26 | 24.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: sort, replies, bbpress, topic
bbpress-sort-topic-replies/bbPress_sort_topic_replies.php 92% from 13 tests
The principal PHP file in "bbPress - Sort topic replies" v. 1.0.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("bbpress-sort-topic-replies.php" instead of "bbPress_sort_topic_replies.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected245 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 46 | 245 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG images were not found in this plugin