Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.62ms] 75% from 4 tests
An overview of server-side resources used by myBB Integration by TheCartPress
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 592.97ms on /wp-admin/admin.php?page=thecartpress)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.05 ▼0.35 |
Dashboard /wp-admin | 3.48 ▲0.18 | 52.10 ▼4.70 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 49.47 ▼3.69 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 92.57 ▼9.74 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.69 ▲2.91 |
myBB Integration /wp-admin/admin.php?page=tcp-mybb-registration-admin | 3.37 | 37.54 |
TCP Plugins /wp-admin/admin.php?page=thecartpress | 3.47 | 592.97 |
Server storage [IO: ▲0.04MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
tcpmybbregister_mybbemailcontent |
tcpmybbregister_cookie_path |
theysaidso_admin_options |
tcpmybbregister_tableprefix |
tcpmybbregister_mybbemailsubject |
tcpmybbregister_mybbadminemail |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for myBB Integration by TheCartPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲59 | 13.31 ▼1.15 | 5.46 ▲3.63 | 45.47 ▲0.73 |
Dashboard /wp-admin | 2,239 ▲36 | 5.88 ▲0.95 | 102.27 ▼4.25 | 74.84 ▲24.66 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.01 ▲0.01 | 35.03 ▼0.75 | 37.83 ▲5.22 |
Add New Post /wp-admin/post-new.php | 1,705 ▲179 | 22.28 ▲4.54 | 715.87 ▲85.38 | 75.20 ▼2.62 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.23 ▲0.01 | 104.12 ▼6.42 | 82.17 ▲33.08 |
myBB Integration /wp-admin/admin.php?page=tcp-mybb-registration-admin | 975 | 2.17 | 23.99 | 30.06 |
TCP Plugins /wp-admin/admin.php?page=thecartpress | 949 | 2.02 | 33.67 | 37.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=thecartpress
- > Network (severe)
wp-content/plugins/tcp-user-registration-for-mybb/assets/css/menu.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=thecartpress
- > Network (severe)
wp-content/plugins/tcp-user-registration-for-mybb/assets/images/tcp-icon.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: mybb, user, auto, auto register, users...
tcp-user-registration-for-mybb/tcp-user-registration-for-mybb.php Passed 13 tests
"myBB Integration by TheCartPress" version 1.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
130 characters long description:
Auto create myBB user when user create account in WordPress, and it will also auto login to myBB whenever user login in WordPress.
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
Everything looks great! No dangerous files found in this plugin862 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 103 | 148 | 862 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 1 | 2.50% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 11 | 73.33% |
▷ Anonymous functions | 4 | 26.67% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin