Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼290.08ms] Passed 4 tests
An overview of server-side resources used by Social Feed EZ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.17 | 57.39 ▲7.90 |
Dashboard /wp-admin | 3.53 ▲0.13 | 38.95 ▲6.31 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 39.95 ▲1.65 |
Add New Post /wp-admin/post-new.php | 6.99 ▲0.02 | 94.41 ▼1,169.14 |
Media Library /wp-admin/upload.php | 3.41 ▲0.12 | 26.18 ▲0.85 |
Social Feed EZ /wp-admin/options-general.php?page=social_feed_ez | 3.35 | 71.02 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 112 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Social Feed EZ: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,808 ▲66 | 15.73 ▼0.03 | 6.72 ▲0.89 | 2.78 ▲0.71 |
Dashboard /wp-admin | 2,897 ▲39 | 6.12 ▼0.12 | 117.33 ▼17.20 | 156.46 ▼6.27 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▼0.00 | 63.91 ▼2.96 | 133.56 ▼10.97 |
Add New Post /wp-admin/post-new.php | 1,761 ▲71 | 22.03 ▲1.45 | 458.75 ▼41.75 | 154.52 ▲1.80 |
Media Library /wp-admin/upload.php | 1,700 ▼1 | 5.49 ▼0.05 | 155.62 ▲11.71 | 196.66 ▲9.00 |
Social Feed EZ /wp-admin/options-general.php?page=social_feed_ez | 975 | 2.63 | 55.22 | 91.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=social_feed_ez
- > Notice in wp-content/plugins/social-feed-ez/includes/admin.php+290
Undefined index: tab
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/social-feed-ez/templates/content_single_post.php
- 47× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/GraphNodes/GraphObject.php:34
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Helpers\\FacebookSignedRequestFromInputHelper' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/Helpers/FacebookJavaScriptHelper.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/Exceptions/FacebookResumableUploadException.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNodeFactory' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/GraphNodes/GraphObjectFactory.php:36
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\FileUpload\\FacebookFile' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/FileUpload/FacebookVideo.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\FacebookRequest' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/FacebookBatchRequest.php:37
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\Http\\RequestBodyInterface' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/Http/RequestBodyUrlEncoded.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/GraphNodes/GraphEvent.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PersistentData\\PersistentDataInterface' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/PersistentData/FacebookMemoryPersistentDataHandler.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/social-feed-ez/vendors/facebook/graph-sdk/src/Facebook/GraphNodes/GraphAchievement.php:31
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=social_feed_ez
- > Javascript (severe) in unknown
/wp-content/plugins/social-feed-ez/assets/js/admin.js?ver=5.9.2 1:58 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
Optimizations
Plugin configuration 86% 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
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #2, #3 in social-feed-ez/assets to your readme.txt
social-feed-ez/social-feed-ez.php 77% from 13 tests
The main PHP file in "Social Feed EZ" ver. 0.1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Requires at least: The required version number must match the one declared in readme.txt ("4.5" instead of "3.8.0")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.6" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin6,682 lines of code in 101 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 91 | 1,192 | 5,900 | 5,575 |
SVG | 1 | 0 | 0 | 801 |
CSS | 4 | 2 | 8 | 137 |
JSON | 2 | 0 | 0 | 104 |
JavaScript | 1 | 38 | 15 | 56 |
XML | 1 | 0 | 0 | 7 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 71 | |
▷ Abstract classes | 1 | 1.41% |
▷ Concrete classes | 70 | 98.59% |
▷ Final classes | 0 | 0.00% |
Methods | 534 | |
▷ Static methods | 20 | 3.75% |
▷ Public methods | 489 | 91.57% |
▷ Protected methods | 26 | 4.87% |
▷ Private methods | 19 | 3.56% |
Functions | 23 | |
▷ Named functions | 19 | 82.61% |
▷ Anonymous functions | 4 | 17.39% |
Constants | 23 | |
▷ Global constants | 1 | 4.35% |
▷ Class constants | 22 | 95.65% |
▷ Public constants | 22 | 100.00% |
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