Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.02ms] Passed 4 tests
An overview of server-side resources used by VK Post Author Display
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 43.45 ▲2.27 |
Dashboard /wp-admin | 3.37 ▲0.02 | 219.38 ▲158.16 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 52.48 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.92 ▼8.99 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.57 ▲0.45 |
VK Post Author Display /wp-admin/options-general.php?page=pad_plugin_options | 3.34 | 207.54 |
Server storage [IO: ▲5.71MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 78 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
vk_font_awesome_version |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for VK Post Author Display
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲143 | 13.82 ▼0.53 | 1.79 ▼0.15 | 43.74 ▲0.91 |
Dashboard /wp-admin | 2,278 ▲104 | 6.04 ▲0.44 | 87.77 ▼6.42 | 92.86 ▲49.24 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.29 ▲0.31 | 40.52 ▼0.36 | 34.88 ▼3.31 |
Add New Post /wp-admin/post-new.php | 6,232 ▲4,706 | 25.39 ▲2.23 | 1,015.97 ▲354.98 | 36.76 ▼19.01 |
Media Library /wp-admin/upload.php | 1,423 ▲20 | 4.35 ▲0.19 | 101.38 ▼7.15 | 39.49 ▼9.44 |
VK Post Author Display /wp-admin/options-general.php?page=pad_plugin_options | 1,249 | 3.30 | 40.61 | 74.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- vk_font_awesome_version
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 items
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vk-post-author-display/admin/admin-profile.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-post-author-display/hide_controller.php:5
- > PHP Fatal error
Uncaught Error: Class 'VektorInc\\VK_Admin\\VkAdmin' not found in wp-content/plugins/vk-post-author-display/admin/admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-post-author-display/inc/term-color/package/class.term-color.php:253
- > PHP Warning
require_once(VK_PAD_DIRvendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/vk-post-author-display/inc/font-awesome/config.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'VektorInc\\VK_Swiper\\VkSwiper' not found in wp-content/plugins/vk-post-author-display/vendor/vektor-inc/vk-admin/config.php:8
- > PHP Warning
Use of undefined constant VK_PAD_DIR - assumed 'VK_PAD_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/vk-post-author-display/inc/font-awesome/config.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-post-author-display/inc/term-color/term-color-config.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/vk-post-author-display/post-author-display.php:59
- > PHP Fatal error
require_once(): Failed opening required 'VK_PAD_DIRvendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/vk-post-author-display/inc/font-awesome/config.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI found ("")
- Screenshots: Please add images for these screenshots: #1 (Display to post author information with latest entries box on bottom of the contents.), #2 (user information edit page.), #3 (You can edit "Post author box title","Post list box title","Display post thumbnail image" and more...)
vk-post-author-display/post-author-display.php 85% from 13 tests
"VK Post Author Display" version 1.24.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("vk-post-author-display.php" instead of "post-author-display.php")
- Domain Path: The domain path folder does not exist ("/languages")
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 detected11,628 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 15 | 8,755 |
PHP | 27 | 519 | 987 | 2,497 |
JSON | 1 | 0 | 0 | 104 |
JavaScript | 3 | 14 | 43 | 72 |
PO File | 2 | 17 | 24 | 72 |
XML | 3 | 4 | 12 | 63 |
Bourne Shell | 3 | 17 | 5 | 32 |
Markdown | 2 | 3 | 0 | 23 |
CSS | 6 | 2 | 13 | 10 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 27.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 60 | 63.83% |
▷ Public methods | 91 | 96.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.19% |
Functions | 64 | |
▷ Named functions | 62 | 96.88% |
▷ Anonymous functions | 2 | 3.12% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.63MB with 0.46MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 130.34KB | 49.28KB | ▼ 62.20% |
screenshot-3.png | 118.22KB | 42.29KB | ▼ 64.23% |
screenshot-1.png | 397.41KB | 135.71KB | ▼ 65.85% |
(invalid) assets/images/no_image.png | 1.49KB | 0.00KB | ▼ 100.00% |