Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲5.56MB] [CPU: ▲30.11ms] 75% from 4 tests
An overview of server-side resources used by Inavii for Elementor Social Feed
It is recommended to improve the following
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.56MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.32 ▲5.85 | 67.35 ▲29.36 |
Dashboard /wp-admin | 9.34 ▲6.03 | 73.48 ▲26.87 |
Posts /wp-admin/edit.php | 9.34 ▲5.98 | 84.51 ▲37.80 |
Add New Post /wp-admin/post-new.php | 10.24 ▲4.36 | 120.43 ▲26.39 |
Media Library /wp-admin/upload.php | 9.34 ▲6.11 | 73.75 ▲41.73 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.34 | 65.11 |
Server storage [IO: ▲17.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 1,137 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
inavii_social_feed_e_version |
can_compress_scripts |
fs_accounts |
widget_recent-posts |
fs_active_plugins |
fs_debug_mode |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Inavii for Elementor Social Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲84 | 14.18 ▼0.56 | 1.70 ▲0.06 | 27.59 ▼13.24 |
Dashboard /wp-admin | 2,245 ▲68 | 5.52 ▼0.15 | 98.06 ▼3.23 | 45.69 ▲0.72 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 2.00 ▲0.05 | 41.32 ▲1.35 | 40.54 ▲2.56 |
Add New Post /wp-admin/post-new.php | 1,549 ▲20 | 23.15 ▼0.02 | 637.25 ▲4.50 | 54.13 ▼4.90 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.20 ▲0.09 | 97.62 ▼0.63 | 44.61 ▲4.58 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,102 | 1.66 | 27.35 | 29.96 |
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
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/inavii-social-feed-for-elementor/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 10 options in the database
- fs_debug_mode
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- fs_active_plugins
- widget_theysaidso_widget
- can_compress_scripts
- fs_accounts
- inavii_social_feed_e_version
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/inavii-social-feed-for-elementor/vendor/deliciousbrains/wp-background-processing/tests/bootstrap.php
- > /wp-content/plugins/inavii-social-feed-for-elementor/vendor/timber/timber/tests/assets/my-sidebar.php
- 387× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Background_Process' not found in wp-content/plugins/inavii-social-feed-for-elementor/core/RestApi/EndPoints/Media/ImporterMediaProcessor.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/deliciousbrains/wp-background-processing/tests/Test_Setup.php:11
- > PHP Fatal error
Uncaught Error: Class 'Timber_UnitTestCase' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/timber/timber/tests/test-timber-term-getter.php:3
- > PHP Fatal error
Uncaught Error: Class 'Timber_UnitTestCase' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/timber/timber/tests/test-timber-image-tojpg.php:3
- > PHP Fatal error
Uncaught Error: Class 'Timber\\Core' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/timber/timber/lib/Archives.php:40
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/twig/twig/src/TokenParser/SpacelessTokenParser.php:29
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/inavii-social-feed-for-elementor/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #4 in inavii-social-feed-for-elementor/assets to your readme.txt
inavii-social-feed-for-elementor/inavii-social-feed-for-elementor.php 85% from 13 tests
The main PHP file in "Inavii for Elementor Social Feed" ver. 2.3.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 231 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected82,471 lines of code in 1,019 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 842 | 16,536 | 29,552 | 76,109 |
Markdown | 47 | 1,546 | 0 | 3,703 |
YAML | 17 | 140 | 16 | 739 |
Twig | 62 | 36 | 0 | 598 |
PO File | 4 | 166 | 304 | 438 |
Bourne Shell | 3 | 55 | 21 | 288 |
XML | 11 | 26 | 67 | 246 |
JavaScript | 8 | 35 | 75 | 199 |
SVG | 5 | 12 | 0 | 67 |
CSS | 18 | 11 | 45 | 58 |
make | 1 | 4 | 0 | 14 |
reStructuredText | 1 | 9 | 5 | 12 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 11.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 65 | |
Interfaces | 22 | |
Traits | 2 | |
Classes | 738 | |
▷ Abstract classes | 20 | 2.71% |
▷ Concrete classes | 718 | 97.29% |
▷ Final classes | 53 | 7.38% |
Methods | 4,258 | |
▷ Static methods | 546 | 12.82% |
▷ Public methods | 3,474 | 81.59% |
▷ Protected methods | 265 | 6.22% |
▷ Private methods | 519 | 12.19% |
Functions | 433 | |
▷ Named functions | 273 | 63.05% |
▷ Anonymous functions | 160 | 36.95% |
Constants | 260 | |
▷ Global constants | 119 | 45.77% |
▷ Class constants | 141 | 54.23% |
▷ Public constants | 138 | 97.87% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 1.40MB with 0.92MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
vendor/timber/timber/tests/assets/cropper.png | 15.74KB | 0.31KB | ▼ 98.01% |
vendor/timber/timber/tests/assets/eastern-trans.png | 12.34KB | 7.39KB | ▼ 40.11% |
assets/react/static/media/inavii-row.11054a163730cf60ee4a.png | 85.21KB | 25.80KB | ▼ 69.72% |
assets/react/static/media/inavii-masonry-vertical.23c4a8dd0014ac0dbd87.png | 107.69KB | 29.13KB | ▼ 72.94% |