Benchmarks
Plugin footprint Passed 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.03MB] [CPU: ▼293.10ms] Passed 4 tests
A check of server-side resources used by Forum Beginner Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 57.73 ▲7.77 |
Dashboard /wp-admin | 3.46 ▲0.05 | 33.35 ▼4.10 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 37.10 ▼3.48 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 90.79 ▼1,166.09 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 25.79 ▲1.26 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 2 new options
New WordPress options |
---|
flizfbp_extendtiny |
flizfbp_forcepaste |
Browser metrics Passed 4 tests
Forum Beginner Posts: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲41 | 15.67 ▲0.09 | 5.80 ▼0.02 | 2.39 ▼0.09 |
Dashboard /wp-admin | 2,888 ▲27 | 6.15 ▲0.04 | 115.90 ▼16.49 | 183.95 ▲25.21 |
Posts /wp-admin/edit.php | 2,672 ▼22 | 3.25 ▲0.01 | 105.30 ▲41.79 | 145.76 ▲5.66 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 17.87 ▲1.65 | 442.44 ▲39.85 | 208.16 ▲15.32 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.48 ▼0.04 | 154.49 ▲13.94 | 194.57 ▲8.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
forum-beginner-posts/forum-beginner-posts.php Passed 13 tests
This is the main PHP file of "Forum Beginner Posts" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
137 characters long description:
Enables the Visual Editor for bbPress posts, using paste-as-text mode to prevent unwanted styling and markup appearing in pasted content.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected357 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 110 | 352 |
CSS | 1 | 0 | 0 | 5 |
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.41 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.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