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.02MB] [CPU: ▼2.40ms] Passed 4 tests
An overview of server-side resources used by Junior Shopable Social Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.44 ▲1.40 |
Dashboard /wp-admin | 3.32 ▲0.02 | 54.22 ▲2.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.39 ▲1.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.90 ▼15.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.07 ▲3.18 |
JR Social Feed /wp-admin/options-general.php?page=jrigf | 3.21 | 31.59 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
jrigf_feed_title |
can_compress_scripts |
jrigf_feed_page |
jrigf_feed_color |
jrigf_feed_count |
jrigf_feed_selector |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Junior Shopable Social Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲175 | 14.58 ▼0.05 | 42.65 ▲40.77 | 45.42 ▲9.31 |
Dashboard /wp-admin | 2,229 ▲41 | 5.01 ▼0.89 | 113.05 ▲1.27 | 44.31 ▲2.13 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.32 ▲0.29 | 40.00 ▼4.63 | 33.27 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.30 ▲5.76 | 663.32 ▼20.43 | 37.59 ▼19.22 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.40 ▲0.13 | 112.98 ▲3.65 | 47.54 ▲0.73 |
JR Social Feed /wp-admin/options-general.php?page=jrigf | 1,082 | 2.59 | 40.88 | 42.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 12 options in the database
- jrigf_feed_color
- jrigf_feed_page
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- jrigf_feed_selector
- jrigf_feed_count
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=jrigf
- > Notice in wp-content/plugins/junior-shopable-social-feed/includes/jrigf-admin.php+120
Undefined variable: post
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/junior-shopable-social-feed/includes/jrigf-admin.php:22
- > 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 90% 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
Attributes that require attention:
- Screenshots: Screenshot #1 (The short code to print the list of users to the frontend) image not found
junior-shopable-social-feed/junior-instagram-feed.php 85% from 13 tests
Analyzing the main PHP file in "Junior Shopable Social Feed" version 1.0.4
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("junior-shopable-social-feed.php" instead of "junior-instagram-feed.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected376 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 64 | 207 |
JavaScript | 2 | 20 | 63 | 110 |
CSS | 1 | 1 | 6 | 59 |
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.13 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin