WordPress plugin Slackr scored 10% from 54 tests.

About plugin

  • Plugin page: newheap-integrati...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.8
  • WordPress version: 6.3.1
  • First release: Aug 14, 2017
  • Latest release: Aug 14, 2017
  • Number of updates: 4
  • Update frequency: every 1.5 days
  • Top authors: newheap (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 918 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+90
    Undefined property: Slackr\Application\Event\EventGroup\GeneralEventGroup::$name

Server metrics [RAM: ▼1.43MB] [CPU: ▼50.98ms] Passed 4 tests

This is a short check of server-side resources used by Slackr
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.56 ▼0.9012.78 ▼30.32
Dashboard /wp-admin2.58 ▼0.727.70 ▼40.46
Posts /wp-admin/edit.php2.58 ▼0.779.34 ▼40.48
Add New Post /wp-admin/post-new.php2.58 ▼3.319.18 ▼92.64
Media Library /wp-admin/upload.php2.58 ▼0.659.28 ▼23.49
Slack Integrations /wp-admin/edit.php?post_type=slackr_integrations2.588.40
Add New /wp-admin/post-new.php?post_type=slackr_integrations2.588.07

Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 66 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Slackr
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,861 ▲12613.70 ▼0.671.74 ▼0.4037.66 ▼13.41
Dashboard /wp-admin2,264 ▲765.82 ▼0.06101.22 ▼1.7238.86 ▼11.62
Posts /wp-admin/edit.php2,151 ▲622.07 ▲0.0437.68 ▼3.4831.17 ▼5.17
Add New Post /wp-admin/post-new.php1,540 ▲2617.70 ▼0.09618.70 ▲27.1956.85 ▲15.19
Media Library /wp-admin/upload.php1,449 ▲614.22 ▲0.0297.70 ▲1.7942.49 ▲0.11
Slack Integrations /wp-admin/edit.php?post_type=slackr_integrations1,0792.0332.6925.54
Add New /wp-admin/post-new.php?post_type=slackr_integrations2,7132.7160.7977.52

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
You still need to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+90
    Undefined property: Slackr\Application\Event\EventGroup\GeneralEventGroup::$name
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
  • 24 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=slackr_integrations
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+188
    Undefined property: Slackr\Application\Event\EventGroup\GeneralEventGroup::$name
  • 45 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=slackr_integrations
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+188
    Undefined property: Slackr\Application\Event\EventGroup\PostsEventGroup::$name
  • 39 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=slackr_integrations
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+188
    Undefined property: Slackr\Application\Event\EventGroup\UsersEventGroup::$name
  • 33 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=slackr_integrations
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+188
    Undefined property: Slackr\Application\Event\EventGroup\AttachmentEventGroup::$name
  • 27 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=slackr_integrations
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+188
    Undefined property: Slackr\Application\Event\EventGroup\SystemEventGroup::$name
  • 12 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=slackr_integrations
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Service/SlackEventService/SlackEventService.php+188
    Undefined property: Slackr\Application\Event\EventGroup\WooCommerceEventGroup::$name
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=slackr_integrations
    • > Notice in wp-content/plugins/newheap-integration-for-slack/Application/Event/AbstractPostEvent.php+55
    Trying to get property 'rawData' of non-object

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
The SRP test was a success

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: chat, notifications, slackr, events, webhook...

newheap-integration-for-slack/Main.php 92% from 13 tests

"Slackr" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("newheap-integration-for-slack.php" instead of "Main.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin4,018 lines of code in 62 files:
LanguageFilesBlank linesComment linesLines of code
PHP608534833,802
CSS1407214
JavaScript1402

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity4.60
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity1.51
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces16
Interfaces3
Traits0
Classes55
▷ Abstract classes916.36%
▷ Concrete classes4683.64%
▷ Final classes12.17%
Methods272
▷ Static methods41.47%
▷ Public methods25794.49%
▷ Protected methods20.74%
▷ Private methods134.78%
Functions36
▷ Named functions00.00%
▷ Anonymous functions36100.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
Assets/images/slack_icon.png1.62KB0.92KB▼ 43.28%