Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼271.59ms] Passed 4 tests
This is a short check of server-side resources used by Social Media Auto Post with lknsuite.com
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 27.89 ▲5.60 |
Dashboard /wp-admin | 3.38 ▲0.32 | 50.79 ▲10.08 |
Posts /wp-admin/edit.php | 3.42 ▲0.32 | 46.37 ▲0.29 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.76 | 123.00 ▼1,083.95 |
Media Library /wp-admin/upload.php | 3.26 ▲0.25 | 31.34 ▼8.30 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 150 new files
Database: 1 new table, no new options
New tables |
---|
wp_lknsuite_settings |
Browser metrics Passed 4 tests
Social Media Auto Post with lknsuite.com: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,693 ▲87 | 15.94 ▲0.32 | 7.89 ▲0.30 | 48.58 ▲0.99 |
Dashboard /wp-admin | 2,947 ▲97 | 5.94 ▲0.08 | 141.78 ▲7.84 | 99.51 ▼0.76 |
Posts /wp-admin/edit.php | 2,726 ▲20 | 2.70 ▲0.01 | 65.90 ▼1.11 | 92.17 ▲2.86 |
Add New Post /wp-admin/post-new.php | 1,727 ▲246 | 18.68 ▲0.21 | 398.83 ▲27.07 | 130.40 ▲22.11 |
Media Library /wp-admin/upload.php | 1,792 ▲20 | 5.01 ▲0.03 | 149.86 ▲10.27 | 106.10 ▼13.37 |
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
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_lknsuite_settings
Smoke tests 50% 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 0% from 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
Please take a closer look at the following
- 103× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Util/Directory.php
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Drivers/Zenddisk/Item.php
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Exceptions/phpFastCacheIOException.php
- > /wp-content/plugins/lknsuite/lknlibrary/phpinputfilter/phpinputfilter.inputfilter.php
- > /wp-content/plugins/lknsuite/lknlibrary/psr/simple-cache/CacheException.php
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Drivers/Leveldb/Driver.php
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Drivers/Apcu/Item.php
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Drivers/Devnull/Driver.php
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Core/Item/ExtendedCacheItemInterface.php
- > /wp-content/plugins/lknsuite/lknlibrary/cache/src/phpFastCache/Drivers/Predis/Driver.php
- 48× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
require(wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/ssdb.php on line 18
- > PHP Warning
require(wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/redis.php on line 18
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/memcached.php on line 18
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/cookie.php on line 17
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/decrement.php on line 16
- > PHP Warning
require(wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/apc.php on line 17
- > PHP Warning
require(wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../src/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/withoutComposer.php on line 22
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/leveldb.php on line 15
- > PHP Warning
require(wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/cookie.php on line 17
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lknsuite/lknlibrary/cache/docs/examples/zend_disk.php on line 14
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: scheduling, auto publish, facebook, auto post, instagram
lknsuite/lknsuite.php 92% from 13 tests
The primary PHP file in "Social Media Auto Post with lknsuite.com" version 1.0.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 312 characters long)
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
Good job! No executable or dangerous file extensions detected8,072 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 2,294 | 5,930 | 7,629 |
Markdown | 4 | 134 | 0 | 290 |
JavaScript | 1 | 38 | 4 | 74 |
JSON | 1 | 0 | 0 | 52 |
CSS | 1 | 5 | 0 | 19 |
HTML | 3 | 0 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 9 | |
Traits | 8 | |
Classes | 77 | |
▷ Abstract classes | 1 | 1.30% |
▷ Concrete classes | 76 | 98.70% |
▷ Final classes | 0 | 0.00% |
Methods | 644 | |
▷ Static methods | 39 | 6.06% |
▷ Public methods | 491 | 76.24% |
▷ Protected methods | 150 | 23.29% |
▷ Private methods | 3 | 0.47% |
Functions | 14 | |
▷ Named functions | 4 | 28.57% |
▷ Anonymous functions | 10 | 71.43% |
Constants | 30 | |
▷ Global constants | 16 | 53.33% |
▷ Class constants | 14 | 46.67% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin