Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▲192.41ms] Passed 4 tests
Server-side resources used by Social Feed Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 238.28 ▲199.36 |
Dashboard /wp-admin | 3.42 ▲0.08 | 245.62 ▲183.51 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 238.96 ▲187.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 302.19 ▲198.91 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 238.31 ▲201.88 |
Customize Feed /wp-admin/admin.php?page=social_feed_lite-info | 3.25 | 231.38 |
Connect Instagram /wp-admin/admin.php?page=social_feed_lite-settings | 3.25 | 221.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Social Feed Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.00 ▼0.28 | 1.84 ▼0.15 | 44.77 ▲0.98 |
Dashboard /wp-admin | 2,218 ▲38 | 5.60 ▼0.21 | 83.37 ▼6.44 | 46.69 ▲3.69 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 1.94 ▼0.08 | 39.77 ▼3.59 | 36.75 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 20.98 ▼2.05 | 670.99 ▼59.87 | 65.44 ▲1.57 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.18 ▼0.04 | 105.20 ▼3.30 | 49.42 ▲3.66 |
Customize Feed /wp-admin/admin.php?page=social_feed_lite-info | 802 | 2.13 | 26.49 | 29.77 |
Connect Instagram /wp-admin/admin.php?page=social_feed_lite-settings | 790 | 2.00 | 23.88 | 23.89 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-feed-lite/includes/functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/social-feed-lite/social-feed-lite.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png)
social-feed-lite/social-feed-lite.php Passed 13 tests
The primary PHP file in "Social Feed Lite" version 1.0.0 is used by WordPress to initiate all plugin functionality
76 characters long description:
Lightweight plugin to show Instagram posts. Use shortcode [social_feed_lite]
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 plugin214 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 87 | 27 | 203 |
CSS | 1 | 10 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin