Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.45ms] Passed 4 tests
An overview of server-side resources used by WP TogetherJS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.86 ▼3.51 |
Dashboard /wp-admin | 3.32 ▼0.03 | 42.90 ▼21.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.05 ▼1.09 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.33 ▼7.55 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.67 ▼1.10 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
WP TogetherJS: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲176 | 13.42 ▼0.51 | 8.00 ▲6.40 | 40.01 ▼1.36 |
Dashboard /wp-admin | 2,213 ▲36 | 5.67 ▲0.08 | 90.63 ▲0.41 | 44.02 ▼2.31 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 1.99 ▼0.16 | 39.87 ▲4.52 | 35.52 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.20 ▲0.01 | 619.36 ▼56.24 | 51.62 ▼12.44 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.20 ▼0.02 | 96.87 ▼20.63 | 42.37 ▼5.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-togetherjs/wp-togetherjs.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (The admin toolbar after activating WP TogetherJS.), #2 (TogetherJS in action aftering pressing the "Start TogetherJS" button.)
wp-togetherjs/wp-togetherjs.php Passed 13 tests
The main PHP script in "WP TogetherJS" version 1.0.1 is automatically included on every request by WordPress
81 characters long description:
Easily integrate Mozilla's TogetherJS collaboration system into a Wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected48 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 14 | 20 |
CSS | 1 | 6 | 0 | 16 |
JavaScript | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.23MB with 0.17MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 94.93KB | 26.25KB | ▼ 72.35% |
screenshot-2.png | 136.80KB | 36.07KB | ▼ 73.63% |