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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼154.12ms] Passed 4 tests
This is a short check of server-side resources used by AccessPress iFeeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.99 ▲0.15 | 29.68 ▲3.67 |
Dashboard /wp-admin | 3.21 ▲0.14 | 36.36 ▼7.43 |
Posts /wp-admin/edit.php | 3.32 ▲0.20 | 33.49 ▼7.07 |
Add New Post /wp-admin/post-new.php | 5.57 ▲0.13 | 75.65 ▼602.76 |
Media Library /wp-admin/upload.php | 3.15 ▲0.14 | 25.46 ▲0.77 |
Check Premium Version /wp-admin/admin.php?page=apif-premium | 2.89 | 17.55 |
Documentation /wp-admin/admin.php?page=apif-doclinks | 2.89 | 18.07 |
AccessPress iFeeds /wp-admin/admin.php?page=if-instagram-feed | 3.15 | 31.04 |
Server storage [IO: ▲5.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 3 new options
New WordPress options |
---|
apif_settings |
widget_apif_sidewidget |
widget_apif_widget |
Browser metrics Passed 4 tests
AccessPress iFeeds: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,009 ▲358 | 15.93 ▼0.01 | 15.45 ▲8.78 | 88.79 ▲7.05 |
Dashboard /wp-admin | 2,967 ▲68 | 6.13 ▼0.02 | 113.80 ▼22.67 | 190.11 ▲17.14 |
Posts /wp-admin/edit.php | 2,764 ▲24 | 3.13 ▼0.09 | 63.68 ▲1.66 | 133.97 ▼3.20 |
Add New Post /wp-admin/post-new.php | 3,760 ▲25 | 18.74 ▲0.14 | 418.54 ▼5.90 | 176.08 ▲2.45 |
Media Library /wp-admin/upload.php | 1,788 ▲36 | 5.52 ▲0.03 | 130.62 ▼9.78 | 206.16 ▲22.90 |
Check Premium Version /wp-admin/admin.php?page=apif-premium | 4,006 | 18.70 | 586.17 | 273.25 |
Documentation /wp-admin/admin.php?page=apif-doclinks | 1,338 | 7.73 | 297.24 | 187.94 |
AccessPress iFeeds /wp-admin/admin.php?page=if-instagram-feed | 1,997 | 4.32 | 111.48 | 213.83 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 3 options in the database
- apif_settings
- widget_apif_widget
- widget_apif_sidewidget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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 fix the following
- 16× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/accesspress-instagram-feed/inc/frontend/instagram-widget.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/backend/widgetside.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/frontend/instagram-slider.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/backend/boards/display-settings.php
- > /wp-content/plugins/accesspress-instagram-feed/accesspress-instagram-feed.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/backend/save-settings.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/frontend/instagram-masaic-light.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/backend/main-page.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/backend/boards/instagram-profiles.php
- > /wp-content/plugins/accesspress-instagram-feed/inc/backend/widget.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=apif-premium
- > Javascript (severe) in unknown
https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed-pro/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=apif-doclinks
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=apif-doclinks
- > Javascript (severe) in unknown
https://accesspressthemes.com/documentation/accesspress-instagram-feeds/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please describe screenshot #5 in accesspress-instagram-feed/assets to your readme.txt
- Screenshots: Add an image for screenshot #3 (Backend Settings Section)
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
accesspress-instagram-feed/accesspress-instagram-feed.php Passed 13 tests
Analyzing the main PHP file in "AccessPress iFeeds" version 4.0.5
60 characters long description:
Display feeds of your instagram using shortcode and widgets.
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 plugin22,159 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 16,478 |
JavaScript | 7 | 732 | 1,037 | 2,658 |
CSS | 7 | 107 | 66 | 1,557 |
PHP | 17 | 105 | 158 | 1,466 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
21 PNG files occupy 2.63MB with 1.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/upgrade/ap-instagram-feeds-pro-advertisement1.png | 279.77KB | 0.00KB | ▼ 100.00% |
images/aplite.png | 6.73KB | 3.22KB | ▼ 52.21% |
images/close.png | 0.27KB | 0.29KB | 0.00% |
images/upgrade/upgrade-top.png | 374.50KB | 129.37KB | ▼ 65.45% |
images/logo.png | 4.15KB | 2.30KB | ▼ 44.60% |