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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼13.11ms] Passed 4 tests
Server-side resources used by Team Feed plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.65 ▼4.16 |
Dashboard /wp-admin | 3.41 ▲0.03 | 46.50 ▼38.10 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 46.23 ▼5.74 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 97.75 ▼4.42 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 35.31 ▲2.65 |
Team Feed /wp-admin/options-general.php?page=team-feed | 3.31 | 33.52 |
Server storage [IO: ▲0.21MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 68 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_team_feed_widget |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Team Feed plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲195 | 13.67 ▼0.71 | 7.89 ▲6.04 | 39.35 ▼15.57 |
Dashboard /wp-admin | 2,216 ▲28 | 4.87 ▼0.05 | 100.14 ▼17.21 | 36.50 ▼4.64 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.04 ▼0.01 | 33.69 ▼12.35 | 34.54 ▼9.52 |
Add New Post /wp-admin/post-new.php | 1,523 ▼13 | 17.43 ▼5.77 | 677.44 ▲62.86 | 58.26 ▲5.71 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.18 ▼0.03 | 101.26 ▲3.38 | 40.51 ▼2.94 |
Team Feed /wp-admin/options-general.php?page=team-feed | 873 | 2.18 | 23.91 | 27.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_team_feed_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/team-feed/public/partials/team-feed-public-display.php
- > /wp-content/plugins/team-feed/trunk/public/partials/team-feed-public-display.php
- 22× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/team-feed/trunk/admin/partials/apis/team-feed-admin-channels-list.php on line 16
- > PHP Notice
Undefined variable: instance in wp-content/plugins/team-feed/trunk/public/partials/apis/team-feed-public-channel-history.php on line 15
- > PHP Notice
Undefined variable: instance in wp-content/plugins/team-feed/trunk/admin/partials/apis/team-feed-admin-channels-list.php on line 16
- > PHP Notice
Undefined variable: instance in wp-content/plugins/team-feed/public/partials/apis/team-feed-public-channel-history.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/team-feed/admin/partials/apis/team-feed-admin-access-token.php:19
- > PHP Notice
Undefined variable: instance in wp-content/plugins/team-feed/trunk/public/partials/apis/team-feed-public-channel-history.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/team-feed/public/partials/apis/team-feed-public-channel-history.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/team-feed/public/partials/apis/team-feed-public-channel-history.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/team-feed/trunk/admin/partials/apis/team-feed-admin-access-token.php:19
- > PHP Notice
Undefined variable: instance in wp-content/plugins/team-feed/admin/partials/apis/team-feed-admin-channels-list.php on line 16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (30 tag instead of maximum 10)
team-feed/team-feed.php Passed 13 tests
The main file in "Team Feed plugin" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
136 characters long description:
Get your slack history channels and share comments, photos, videos and attachment files with your friends on your website widget sidebar
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
Success! There were no dangerous files found in this plugin835 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 231 | 719 | 649 |
CSS | 3 | 35 | 11 | 154 |
JavaScript | 5 | 13 | 69 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 1.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 4 | 5.26% |
▷ Public methods | 66 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 13.16% |
Functions | 8 | |
▷ Named functions | 8 | 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
There are no PNG files in this plugin