Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼1.18MB] [CPU: ▼37.54ms] Passed 4 tests
An overview of server-side resources used by Collaboration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.79 ▼0.67 | 12.95 ▼26.66 |
Dashboard /wp-admin | 2.83 ▼0.47 | 19.07 ▼28.48 |
Posts /wp-admin/edit.php | 2.83 ▼0.52 | 15.96 ▼28.70 |
Add New Post /wp-admin/post-new.php | 2.83 ▼3.06 | 19.18 ▼66.31 |
Media Library /wp-admin/upload.php | 2.83 ▼0.40 | 15.55 ▼19.00 |
Collaborate /wp-admin/options-general.php?page=togetherjs | 2.83 | 15.41 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Collaboration: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 13.65 ▼0.93 | 5.95 ▲4.20 | 41.60 ▲1.44 |
Dashboard /wp-admin | 2,226 ▲40 | 5.90 ▲0.94 | 111.07 ▼10.31 | 43.66 ▲0.25 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.05 ▲0.04 | 40.39 ▲0.35 | 35.68 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 17.41 ▼5.97 | 602.28 ▼16.40 | 50.90 ▼5.33 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.29 ▲0.11 | 96.10 ▼8.07 | 40.11 ▼5.88 |
Collaborate /wp-admin/options-general.php?page=togetherjs | 1,044 | 1.99 | 31.10 | 29.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/collaboration/togetherjs.php+183
Undefined index: id
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=togetherjs
- > Notice in wp-content/plugins/collaboration/togetherjs.php+342
Undefined index: id
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=togetherjs
- > Notice in wp-content/plugins/collaboration/togetherjs.php+343
Undefined index: desc
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/collaboration/togetherjs.php:608
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=togetherjs
- > Console-api (warning) in unknown
https://togetherjs.com/togetherjs-min.js?ver=1.0 654:12 "Listening for alt-T alt-T to start TogetherJS"
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: share, chat, multi-author, collaboration, collaborate...
collaboration/togetherjs.php 92% from 13 tests
"Collaboration" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("collaboration.php" instead of "togetherjs.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
No dangerous file extensions were detected383 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 136 | 94 | 383 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected