Benchmarks
Plugin footprint 65% 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: ▼1.01MB] [CPU: ▼43.50ms] Passed 4 tests
Analyzing server-side resources used by Vetrogram
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.97 ▼0.49 | 14.32 ▼29.27 |
Dashboard /wp-admin | 3.01 ▼0.30 | 16.81 ▼34.45 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 17.39 ▼33.64 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 19.62 ▼76.65 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 16.66 ▼18.89 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Vetrogram
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲214 | 13.88 ▼0.50 | 5.52 ▲3.78 | 38.87 ▼9.95 |
Dashboard /wp-admin | 2,242 ▲57 | 5.08 ▼0.78 | 103.83 ▼2.96 | 41.34 ▲1.81 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.53 ▲0.50 | 42.42 ▲6.80 | 35.22 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,545 ▲21 | 23.10 ▼0.13 | 594.60 ▼97.87 | 34.94 ▼29.00 |
Media Library /wp-admin/upload.php | 1,430 ▲48 | 4.52 ▲0.31 | 97.72 ▼0.84 | 41.92 ▼1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vetrogram/vetrogram.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #7 (Shortcode Generator) image missing
- Screenshots: Please a description for screenshot #4 in vetrogram/assets to your readme.txt
vetrogram/vetrogram.php Passed 13 tests
The main PHP script in "Vetrogram" version 1.0.0 is automatically included on every request by WordPress
65 characters long description:
A plugin for presenting your latest instagram posts in Wordpress.
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 plugin4,164 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 123 | 22 | 2,012 |
CSS | 3 | 41 | 0 | 727 |
Sass | 2 | 0 | 8 | 682 |
JavaScript | 6 | 92 | 98 | 534 |
PO File | 1 | 87 | 96 | 193 |
SVG | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 12 | |
▷ Named functions | 12 | 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
PNG images were not found in this plugin