Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.53MB] [CPU: ▲3.27ms] Passed 4 tests
Server-side resources used by Social Engine: Schedule Social Media Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.48 | 43.72 ▲2.34 |
Dashboard /wp-admin | 3.84 ▲0.54 | 49.40 ▲0.42 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 63.62 ▲18.23 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 96.14 ▲5.26 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 39.56 ▲5.06 |
Social Engine /wp-admin/upload.php?page=sclegn_dashboard | 3.68 | 41.06 |
Social Engine /wp-admin/admin.php?page=sclegn_settings | 3.68 | 36.86 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 3.88 | 54.18 |
Server storage [IO: ▲2.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 171 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
sclegn_options |
Browser metrics Passed 4 tests
Checking browser requirements for Social Engine: Schedule Social Media Posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲111 | 14.67 ▲0.28 | 1.78 ▼0.19 | 45.78 ▼2.36 |
Dashboard /wp-admin | 2,257 ▲82 | 5.53 ▼0.09 | 92.01 ▼22.48 | 39.92 ▼5.20 |
Posts /wp-admin/edit.php | 2,252 ▲152 | 5.55 ▲3.52 | 130.04 ▲95.29 | 37.83 ▲1.50 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 23.35 ▲0.03 | 589.85 ▼67.39 | 53.10 ▲4.61 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.20 ▲0.03 | 94.76 ▼3.78 | 43.17 ▼0.30 |
Social Engine /wp-admin/upload.php?page=sclegn_dashboard | 1,169 | 7.37 | 208.33 | 47.96 |
Social Engine /wp-admin/admin.php?page=sclegn_settings | 1,143 | 4.84 | 100.60 | 40.36 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 5,680 | 5.35 | 109.50 | 69.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- sclegn_options
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/social-engine/vendor-forked/zoonman/linkedin-api-php-client/tests/bootstrap.php
- 67× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant SCLEGN_PATH - assumed 'SCLEGN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/social-engine/classes/services/twitter.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\Collection' not found in wp-content/plugins/social-engine/vendor/facebook/graph-sdk/src/Facebook/GraphNodes/GraphNode.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\HttpClients\\FacebookHttpClientInterface' not found in wp-content/plugins/social-engine/vendor/facebook/graph-sdk/src/Facebook/HttpClients/FacebookCurlHttpClient.php:34
- > PHP Fatal error
require_once(): Failed opening required 'SCLEGN_PATH/classes/services/mastodon/client.php' (include_path='.:/usr/share/php') in wp-content/plugins/social-engine/classes/services/mastodon.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/social-engine/vendor/facebook/graph-sdk/src/Facebook/Exceptions/FacebookOtherException.php:31
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/social-engine/vendor-forked/zoonman/linkedin-api-php-client/tests/AccessTokenTest.php:26
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/social-engine/vendor/facebook/graph-sdk/src/Facebook/GraphNodes/GraphEvent.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PseudoRandomString\\PseudoRandomStringGeneratorInterface' not found in wp-content/plugins/social-engine/vendor/facebook/graph-sdk/src/Facebook/PseudoRandomString/UrandomPseudoRandomStringGenerator.php:28
- > PHP Fatal error
Uncaught Error: Class 'LinkedIn\\AbstractEnum' not found in wp-content/plugins/social-engine/vendor-forked/zoonman/linkedin-api-php-client/src/Scope.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PersistentData\\PersistentDataInterface' not found in wp-content/plugins/social-engine/vendor/facebook/graph-sdk/src/Facebook/PersistentData/FacebookMemoryPersistentDataHandler.php:31
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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: These screenshots lack descriptions #1, #2, #3, #4 in social-engine/assets to your readme.txt
social-engine/social-engine.php 92% from 13 tests
The primary PHP file in "Social Engine: Schedule Social Media Posts" version 0.5.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 214 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected11,927 lines of code in 155 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 134 | 2,038 | 8,006 | 10,913 |
Markdown | 10 | 202 | 0 | 536 |
JSON | 6 | 0 | 0 | 430 |
XML | 2 | 0 | 0 | 38 |
YAML | 1 | 2 | 0 | 8 |
JavaScript | 2 | 0 | 4 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 111 | |
▷ Abstract classes | 3 | 2.70% |
▷ Concrete classes | 108 | 97.30% |
▷ Final classes | 0 | 0.00% |
Methods | 911 | |
▷ Static methods | 92 | 10.10% |
▷ Public methods | 837 | 91.88% |
▷ Protected methods | 42 | 4.61% |
▷ Private methods | 32 | 3.51% |
Functions | 33 | |
▷ Named functions | 7 | 21.21% |
▷ Anonymous functions | 26 | 78.79% |
Constants | 49 | |
▷ Global constants | 6 | 12.24% |
▷ Class constants | 43 | 87.76% |
▷ Public constants | 42 | 97.67% |
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