Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.95MB] [CPU: ▲10.11ms] Passed 4 tests
This is a short check of server-side resources used by Inline Related Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.46 ▲1.00 | 50.64 ▲14.30 |
Dashboard /wp-admin | 4.29 ▲0.99 | 85.36 ▲35.20 |
Posts /wp-admin/edit.php | 4.33 ▲0.97 | 55.06 ▲6.90 |
Add New Post /wp-admin/post-new.php | 6.80 ▲0.91 | 98.54 ▲10.55 |
Media Library /wp-admin/upload.php | 4.13 ▲0.91 | 41.02 ▲8.69 |
Inline Related Posts /wp-admin/options-general.php?page=intelly-related-posts | 4.11 | 45.48 |
Server storage [IO: ▲2.89MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 158 new files
Database: no new tables, 12 new options
New WordPress options |
---|
IRP_ShowActivationNotice |
can_compress_scripts |
IRP_PluginFirstInstall |
widget_theysaidso_widget |
IRP_PluginInstallDate[intelly-related-posts] |
widget_recent-comments |
IRP_PluginUpdateDate[intelly-related-posts] |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Inline Related Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▲0.07 | 1.56 ▼0.01 | 40.20 ▼0.96 |
Dashboard /wp-admin | 2,202 ▲24 | 5.62 ▼0.13 | 86.55 ▼11.06 | 37.45 ▼4.10 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.09 ▲0.06 | 34.43 ▼6.18 | 33.76 ▼3.70 |
Add New Post /wp-admin/post-new.php | 6,245 ▲4,719 | 20.91 ▼2.51 | 863.16 ▲210.61 | 54.08 ▼0.76 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.07 | 93.33 ▼8.10 | 39.44 ▼5.76 |
Inline Related Posts /wp-admin/options-general.php?page=intelly-related-posts | 1,694 | 11.06 | 350.08 | 85.23 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 13 options in the database
- can_compress_scripts
- db_upgraded
- IRP_PluginUpdateDate[intelly-related-posts]
- IRP_Active
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- IRP_PluginFirstInstall
- IRP_PluginInstallDate[intelly-related-posts]
- IRP_ShowWhatsNew
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 fix the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/intelly-related-posts/includes/uninstall.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/intelly-related-posts/includes/admin/metabox.php:18
- > PHP Fatal error
Uncaught Error: Class 'IRP_Options' not found in wp-content/plugins/intelly-related-posts/includes/classes/utils/AppOptions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/intelly-related-posts/includes/install.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/intelly-related-posts/index.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/intelly-related-posts/includes/admin/button-mce.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/intelly-related-posts/includes/core.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Some example of famous websites with "Related post box"), #2 (An example of a style that you can use), #3 (Another example of a style that you can use), #4 (Another example of a style that you can use), #5 (Hover effect is allowed using this theme), #6 (Our Intelly Line Breaks technology which detects grammar rules and avoids content breaks.), #7 (The backend of our plugin. Live preview available and super fast options to fit your theme style.), #8 (A Box Theme of Inline Related Posts PRO. Check other PREMIUM feature here. (https://intellywp.com/intelly-related-posts/)), #9 (Another Box Theme of Inline Related Posts PRO. Check other PREMIUM feature here. (https://intellywp.com/intelly-related-posts/))
- Tags: Please reduce the number of tags, currently 22 tag instead of maximum 10
intelly-related-posts/index.php 85% from 13 tests
The main file in "Inline Related Posts" v. 3.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.6" instead of "3.6.0")
- Main file name: Name the main plugin file the same as the plugin slug ("intelly-related-posts.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin8,571 lines of code in 114 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 470 | 254 | 4,747 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 66 | 115 | 89 | 690 |
HTML | 1 | 4 | 0 | 194 |
CSS | 4 | 13 | 6 | 168 |
PO File | 5 | 5 | 3 | 90 |
JSON | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 25.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 308 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 277 | 89.94% |
▷ Protected methods | 10 | 3.25% |
▷ Private methods | 21 | 6.82% |
Functions | 40 | |
▷ Named functions | 38 | 95.00% |
▷ Anonymous functions | 2 | 5.00% |
Constants | 54 | |
▷ Global constants | 54 | 100.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
20 PNG files occupy 0.41MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 4.03KB | 3.29KB | ▼ 18.38% |
assets/images/email.png | 0.56KB | 0.51KB | ▼ 10.21% |
assets/images/simple-arrow.png | 1.26KB | 0.24KB | ▼ 80.72% |
screenshot-9.png | 28.76KB | 13.61KB | ▼ 52.68% |
screenshot-3.png | 51.36KB | 30.56KB | ▼ 40.50% |