Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.00ms] Passed 4 tests
Server-side resources used by R3W InstaFeed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.60 ▲0.90 |
Dashboard /wp-admin | 3.36 ▲0.05 | 42.34 ▼8.82 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 42.95 ▼2.19 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 80.69 ▼5.88 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.01 ▲4.25 |
InstaFeed /wp-admin/options-general.php?page=r3wif | 3.22 | 28.91 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_r3wif_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for R3W InstaFeed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.72 ▼0.87 | 5.28 ▲3.30 | 47.24 ▲2.55 |
Dashboard /wp-admin | 2,210 ▲19 | 4.84 ▼0.05 | 102.76 ▼3.18 | 39.05 ▼2.97 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.05 | 33.35 ▼5.02 | 36.31 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.61 ▼5.46 | 678.88 ▲8.60 | 53.59 ▼1.31 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▲0.02 | 97.19 ▲3.95 | 43.29 ▲0.97 |
InstaFeed /wp-admin/options-general.php?page=r3wif | 841 | 2.03 | 24.23 | 25.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_r3wif_widget
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=r3wif
- > Notice in wp-content/plugins/r3w-instafeed/r3w-instafeed.php+92
Undefined index: access_token
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=r3wif
- > Warning in wp-content/plugins/r3w-instafeed/r3w-instafeed.php+147
Use of undefined constant LJMM_PLUGIN_DOMAIN - assumed 'LJMM_PLUGIN_DOMAIN' (this will throw an Error in a future version of PHP)
SRP 50% 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/r3w-instafeed/r3w-instafeed-widget.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/r3w-instafeed/r3w-instafeed-widget.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
r3w-instafeed/r3w-instafeed.php 92% from 13 tests
The main PHP file in "R3W InstaFeed" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin563 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 15 | 2 | 356 |
PHP | 2 | 67 | 19 | 200 |
CSS | 1 | 0 | 0 | 5 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sign_in_with_instagram.png | 5.63KB | 2.49KB | ▼ 55.73% |