Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.44ms] Passed 4 tests
Server-side resources used by Social photo feed for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.57 ▼7.91 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.16 ▼4.62 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 42.46 ▼8.29 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 91.17 ▼4.93 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 39.75 ▲5.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Social photo feed for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.56 ▼0.81 | 1.65 ▼0.20 | 40.84 ▼1.28 |
Dashboard /wp-admin | 2,225 ▲37 | 5.86 ▼0.02 | 99.63 ▼10.68 | 45.02 ▼3.40 |
Posts /wp-admin/edit.php | 2,102 ▲16 | 2.04 ▲0.05 | 38.24 ▼0.39 | 33.70 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,546 ▲24 | 23.29 ▲0.25 | 663.77 ▼4.42 | 58.96 ▲4.37 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.18 ▼0.13 | 97.78 ▼14.48 | 43.97 ▼7.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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 items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/social-photo-feed-for-elementor/includes/cron_jobs.php:11
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/social-photo-feed-for-elementor/widget/instagram_feed.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/social-photo-feed-for-elementor/includes/cron_jobs.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Backend), #2 (Elementor), #3 (Frontend)
social-photo-feed-for-elementor/elementor_instragram.php 85% from 13 tests
The principal PHP file in "Social photo feed for Elementor" v. 1.2.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "5.2")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("social-photo-feed-for-elementor.php" instead of "elementor_instragram.php")
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 plugin777 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 96 | 19 | 711 |
CSS | 1 | 12 | 0 | 66 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 66.67% |
▷ Protected methods | 2 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
There are no PNG files in this plugin