Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲1.33ms] Passed 4 tests
Analyzing server-side resources used by Feed by Fhoke
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.51 ▼0.10 |
Dashboard /wp-admin | 3.57 ▲0.27 | 54.13 ▼0.01 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 57.22 ▲4.58 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 107.35 ▲10.01 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 41.68 ▲0.83 |
Feed by Fhoke /wp-admin/options-general.php?page=feed-by-fhoke | 3.40 | 36.51 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 167 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Feed by Fhoke: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.27 ▼1.32 | 1.90 ▼0.03 | 42.76 ▼4.31 |
Dashboard /wp-admin | 2,246 ▲58 | 5.86 ▲0.97 | 104.28 ▼11.34 | 74.49 ▲28.29 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.03 ▲0.01 | 37.80 ▼1.49 | 35.77 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,560 ▲27 | 23.23 ▲0.07 | 734.46 ▲55.13 | 63.44 ▲3.99 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.27 ▲0.06 | 106.15 ▲1.23 | 71.29 ▲24.66 |
Feed by Fhoke /wp-admin/options-general.php?page=feed-by-fhoke | 1,049 | 2.01 | 30.64 | 117.76 |
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
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/feed-by-fhoke/helpers.php
- > /wp-content/plugins/feed-by-fhoke/options.php
- > /wp-content/plugins/feed-by-fhoke/FeedByFhoke.php
- > /wp-content/plugins/feed-by-fhoke/setup.php
- 49× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/psr7/src/BufferStream.php:17
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/psr7/src/DroppingStream.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/psr7/src/Request.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/psr7/src/LimitStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/feed-by-fhoke/vendor/guzzlehttp/promises/src/Coroutine.php:45
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: feed by fhoke, instagram posts, instagram feed, fhoke, instagram photos
feed-by-fhoke/FeedByFhoke.php 85% from 13 tests
The entry point to "Feed by Fhoke" version 1.3.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("feed-by-fhoke.php" instead of "FeedByFhoke.php")
- Requires PHP: Required version must match the one declared in readme.txt ("7.3.5" instead of "7.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin16,315 lines of code in 155 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 2,181 | 6,070 | 10,712 |
Markdown | 15 | 1,278 | 0 | 3,664 |
JSON | 9 | 0 | 0 | 1,040 |
CSS | 2 | 31 | 0 | 886 |
YAML | 1 | 0 | 0 | 7 |
SVG | 2 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 13.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 26 | |
Traits | 3 | |
Classes | 79 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 79 | 100.00% |
▷ Final classes | 35 | 44.30% |
Methods | 767 | |
▷ Static methods | 145 | 18.90% |
▷ Public methods | 635 | 82.79% |
▷ Protected methods | 18 | 2.35% |
▷ Private methods | 114 | 14.86% |
Functions | 139 | |
▷ Named functions | 46 | 33.09% |
▷ Anonymous functions | 93 | 66.91% |
Constants | 69 | |
▷ Global constants | 6 | 8.70% |
▷ Class constants | 63 | 91.30% |
▷ Public constants | 52 | 82.54% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected