Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼2.28ms] 75% from 4 tests
A check of server-side resources used by HT Feed
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 1,329.78ms on /wp-admin/admin.php?page=htfeed-recommendations)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 41.06 ▼3.44 |
Dashboard /wp-admin | 3.84 ▲0.54 | 56.97 ▲8.42 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 60.69 ▲3.53 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 86.84 ▼16.35 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 44.26 ▲7.14 |
Recommendations /wp-admin/admin.php?page=htfeed-recommendations | 8.05 | 1,329.78 |
WP Instagram /wp-admin/admin.php?page=htinstagram | 3.68 | 41.20 |
Server storage [IO: ▲1.51MB] [DB: ▲0.67MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 10 new options
New WordPress options |
---|
htinstagram_shortcodeopt_tabs |
widget_recent-comments |
widget_htinstagram_default_widgets |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
htinstagram_general_tabs |
htinstagram_widgets_style_tabs |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by HT Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,991 ▲245 | 14.89 ▲0.72 | 1.84 ▲0.07 | 45.26 ▲1.37 |
Dashboard /wp-admin | 2,378 ▲196 | 6.62 ▲0.81 | 128.27 ▲18.52 | 97.24 ▲55.72 |
Posts /wp-admin/edit.php | 2,314 ▲225 | 3.67 ▲1.65 | 56.71 ▲21.28 | 76.94 ▲40.74 |
Add New Post /wp-admin/post-new.php | 1,722 ▲208 | 22.67 ▲5.04 | 644.87 ▼19.82 | 37.79 ▼28.23 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.48 ▲0.30 | 88.76 ▼15.01 | 77.91 ▲30.99 |
Recommendations /wp-admin/admin.php?page=htfeed-recommendations | 3,083 | 3.40 | 48.58 | 91.66 |
WP Instagram /wp-admin/admin.php?page=htinstagram | 2,242 | 4.59 | 85.94 | 76.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 10 options
- widget_recent-posts
- htinstagram_widgets_style_tabs
- htinstagram_shortcodeopt_tabs
- theysaidso_admin_options
- widget_htinstagram_default_widgets
- htinstagram_general_tabs
- widget_recent-comments
- widget_theysaidso_widget
- 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
Even though no errors were found, this is by no means an exhaustive test
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
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ht-instagram/include/default_widgets.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/ht-instagram/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ht-instagram/include/vc_map.php:446
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Icons_Manager' not found in wp-content/plugins/ht-instagram/include/class.htinstagram-icon-manager.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ht-instagram/include/shortcode.php:197
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: wordpress instagram, instagram feed, instagram, elementor, wp instagram
ht-instagram/ht-instagram.php Passed 13 tests
Analyzing the main PHP file in "HT Feed" version 1.2.8
75 characters long description:
The HT Feed is a elementor addons, Visul Composer addons, WordPress Widges.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin6,778 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 586 | 340 | 3,544 |
SVG | 2 | 1 | 0 | 2,684 |
CSS | 4 | 20 | 11 | 381 |
JavaScript | 4 | 37 | 39 | 169 |
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.29 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 5 | 7.25% |
▷ Public methods | 63 | 91.30% |
▷ Protected methods | 4 | 5.80% |
▷ Private methods | 2 | 2.90% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
25 PNG files occupy 0.17MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/extensions/ht-slider-addons-pro.png | 6.41KB | 4.35KB | ▼ 32.23% |
(invalid) admin/assets/images/extensions/was-this-helpful.png | 1.21KB | 0.00KB | ▼ 100.00% |
assests/images/extensions/htmega-pro.png | 4.60KB | 4.78KB | 0.00% |
assests/images/menu-logo.png | 0.34KB | 0.24KB | ▼ 28.32% |
(invalid) admin/assets/images/extensions/ht-menu.png | 2.85KB | 0.00KB | ▼ 100.00% |