Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.61MB] [CPU: ▼17.37ms] Passed 4 tests
This is a short check of server-side resources used by FeedFocal
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 30.74 ▼11.40 |
Dashboard /wp-admin | 3.38 ▲0.08 | 52.99 ▲3.58 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 52.77 ▲2.43 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.63 | 42.30 ▼59.11 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.64 ▼1.39 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
FeedFocal: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,613 ▲1,852 | 14.14 ▲0.18 | 6.27 ▲4.65 | 36.11 ▼8.79 |
Dashboard /wp-admin | 3,910 ▲1,730 | 5.42 ▼0.25 | 126.65 ▲32.33 | 51.73 ▲12.70 |
Posts /wp-admin/edit.php | 3,463 ▲1,363 | 2.56 ▲0.60 | 53.64 ▲13.07 | 40.03 ▲0.92 |
Add New Post /wp-admin/post-new.php | 2,868 ▲1,342 | 24.13 ▲0.76 | 691.07 ▲2.58 | 40.40 ▼15.08 |
Media Library /wp-admin/upload.php | 2,334 ▲934 | 4.73 ▲0.61 | 119.13 ▲4.45 | 47.51 ▲0.82 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: net promoter score, nps, surveys, ecommerce, tracking...
feedfocal/feedfocal.php Passed 13 tests
The primary PHP file in "FeedFocal" version 1.2.1 is used by WordPress to initiate all plugin functionality
66 characters long description:
Easily collect customer feedback to improve your users experience.
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
There were no executable files found in this plugin17,955 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 20 | 2,984 | 9,297 |
JavaScript | 2 | 2,678 | 79 | 8,286 |
PHP | 11 | 211 | 578 | 372 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 2.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 60.79KB | 27.55KB | ▼ 54.69% |
assets/register-1.png | 30.18KB | 9.14KB | ▼ 69.72% |