Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
Server metrics [RAM: ▼1.85MB] [CPU: ▼55.33ms] Passed 4 tests
This is a short check of server-side resources used by VKontakte Cross-Post
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 7.28 ▼33.85 |
Dashboard /wp-admin | 2.17 ▼1.18 | 5.20 ▼57.77 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 8.54 ▼39.65 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 5.52 ▼90.03 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 5.98 ▼28.99 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by VKontakte Cross-Post
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.73 ▲0.37 | 1.76 ▲0.20 | 36.75 ▼2.45 |
Dashboard /wp-admin | 2,202 ▲25 | 5.66 ▲0.09 | 96.15 ▲7.98 | 43.24 ▲3.57 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.02 | 40.76 ▲1.40 | 35.05 ▲0.99 |
Add New Post /wp-admin/post-new.php | 6,222 ▲4,692 | 18.78 ▼4.37 | 889.02 ▲280.31 | 54.91 ▲0.52 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.03 | 95.24 ▼4.49 | 41.19 ▼0.64 |
VK Cross-Post /wp-admin/skylark-vk-cross-post.php | 26 | 0.42 | 0.06 | 12.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/vkontakte-cross-post/vkcrosspost.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/skylark-vk-cross-post.php
- > Network (severe)
wp-admin/skylark-vk-cross-post.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: wall, group wall, publish event, vkontakte
vkontakte-cross-post/vkcrosspost.php 92% from 13 tests
Analyzing the main PHP file in "VKontakte Cross-Post" version 0.3.2
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("vkontakte-cross-post.php" instead of "vkcrosspost.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin284 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 71 | 11 | 284 |
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 code | 0.44 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.33MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/step1.png | 84.22KB | 28.26KB | ▼ 66.44% |
img/step5.png | 13.06KB | 3.71KB | ▼ 71.62% |
img/step4.png | 58.41KB | 19.44KB | ▼ 66.71% |
img/step2.png | 67.00KB | 19.99KB | ▼ 70.16% |
img/step3.png | 112.95KB | 33.12KB | ▼ 70.68% |