Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.56ms] Passed 4 tests
A check of server-side resources used by ARK Related Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 40.92 ▲1.28 |
Dashboard /wp-admin | 3.43 ▲0.09 | 51.71 ▲0.91 |
Posts /wp-admin/edit.php | 3.54 ▲0.15 | 49.25 ▼2.84 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.10 | 101.43 ▼5.25 |
Media Library /wp-admin/upload.php | 3.35 ▲0.08 | 40.03 ▲0.93 |
Связанные записи /wp-admin/options-general.php?page=ark_rp_ostoptions | 3.30 | 30.51 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ARK Related Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 13.31 ▼1.04 | 1.54 ▼0.85 | 40.76 ▼3.39 |
Dashboard /wp-admin | 2,221 ▲54 | 5.85 ▲0.30 | 89.24 ▼10.52 | 40.59 ▼3.67 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.25 ▲0.26 | 38.97 ▲2.16 | 34.19 ▼7.23 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.63 ▼0.03 | 662.87 ▼25.72 | 37.80 ▼16.83 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.34 ▲0.22 | 96.24 ▼20.39 | 46.51 ▼0.86 |
Связанные записи /wp-admin/options-general.php?page=ark_rp_ostoptions | 1,934 | 3.14 | 64.45 | 48.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=ark_rp_ostoptions
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ark_rp_ostoptions
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ark-relatedpost/ark-relatedpost.php:30
- > 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 on the user side
Optimizations
Plugin configuration Passed 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: posts, post, related posts, related post, related
ark-relatedpost/ark-relatedpost.php Passed 13 tests
The main PHP script in "ARK Related Posts" version 2.18 is automatically included on every request by WordPress
99 characters long description:
Вывод связанных записей на основе тегов или категорий
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin497 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 60 | 442 |
CSS | 1 | 2 | 5 | 52 |
JavaScript | 1 | 0 | 0 | 3 |
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.25 |
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 | 12 | |
▷ Named functions | 12 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ark-noimage.png | 27.27KB | 9.79KB | ▼ 64.08% |
img/button-donate.png | 12.60KB | 4.70KB | ▼ 62.74% |