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 gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.84ms] Passed 4 tests
An overview of server-side resources used by Social Portfolio Feed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 44.71 ▲2.03 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.98 ▼1.73 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.09 ▼6.58 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.14 ▼8.43 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.64 ▲1.38 |
Settings /wp-admin/admin.php?page=spf_setings | 3.28 | 31.03 |
Social Portfolio Feed /wp-admin/admin.php?page=social-portfolio-feed | 3.28 | 30.70 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Portfolio Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲204 | 13.61 ▼0.80 | 9.24 ▲7.39 | 42.14 ▲2.79 |
Dashboard /wp-admin | 2,232 ▲41 | 5.85 ▲0.96 | 103.91 ▼10.23 | 37.30 ▼4.96 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.19 ▲0.14 | 41.30 ▲1.50 | 35.98 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.00 ▼0.11 | 609.37 ▼101.51 | 51.05 ▼1.79 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.24 ▲0.03 | 98.22 ▼8.21 | 44.28 ▼2.74 |
Settings /wp-admin/admin.php?page=spf_setings | 793 | 2.05 | 24.72 | 20.94 |
Social Portfolio Feed /wp-admin/admin.php?page=social-portfolio-feed | 829 | 2.07 | 23.87 | 24.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 33 tag instead of maximum 10
creative-instagram/social-portfolio-feed.php 85% from 13 tests
The main PHP script in "Social Portfolio Feed" version 2.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("creative-instagram.php" instead of "social-portfolio-feed.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,358 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 7 | 10 | 2,229 |
SVG | 1 | 0 | 0 | 685 |
PHP | 3 | 230 | 16 | 408 |
JavaScript | 1 | 22 | 0 | 36 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 31 | 88.57% |
▷ Protected methods | 3 | 8.57% |
▷ Private methods | 1 | 2.86% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/instagram.png | 0.88KB | 1.05KB | 0.00% |