Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.53MB] [CPU: ▲9.31ms] Passed 4 tests
An overview of server-side resources used by B Pinterest Feed – Pinterest Feed Plugin for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.01 ▲1.55 | 60.56 ▲16.98 |
Dashboard /wp-admin | 4.83 ▲1.53 | 62.20 ▲6.65 |
Posts /wp-admin/edit.php | 4.88 ▲1.53 | 62.51 ▲10.57 |
Add New Post /wp-admin/post-new.php | 7.42 ▲1.53 | 108.63 ▲3.05 |
Media Library /wp-admin/upload.php | 4.76 ▲1.53 | 58.39 ▲21.24 |
Add Pinterest /wp-admin/post-new.php?post_type=kpp_pinterest | 4.81 | 64.75 |
Pinterests /wp-admin/edit.php?post_type=kpp_pinterest | 4.83 | 52.72 |
Help /wp-admin/edit.php?post_type=kpp_pinterest&page=pfree_help | 4.76 | 48.77 |
Pinterest Settings /wp-admin/edit.php?post_type=kpp_pinterest&page=kpp_settings | 4.76 | 63.40 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 165 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
_kp_pinterest_options |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
B Pinterest Feed – Pinterest Feed Plugin for WordPress: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲199 | 13.74 ▼0.43 | 10.42 ▲8.78 | 44.91 ▲7.51 |
Dashboard /wp-admin | 2,241 ▲67 | 5.65 ▼0.01 | 85.72 ▼4.11 | 40.15 ▼0.36 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 1.98 ▲0.01 | 38.40 ▼3.21 | 32.80 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,560 ▲25 | 23.00 ▲4.64 | 609.82 ▼41.17 | 52.08 ▼14.62 |
Media Library /wp-admin/upload.php | 1,449 ▲52 | 4.21 ▼0.02 | 98.17 ▼7.16 | 44.51 ▼0.84 |
Add Pinterest /wp-admin/post-new.php?post_type=kpp_pinterest | 1,767 | 4.18 | 70.25 | 40.79 |
Pinterests /wp-admin/edit.php?post_type=kpp_pinterest | 1,316 | 3.88 | 56.17 | 27.55 |
Help /wp-admin/edit.php?post_type=kpp_pinterest&page=pfree_help | 1,635 | 10.16 | 283.45 | 92.03 |
Pinterest Settings /wp-admin/edit.php?post_type=kpp_pinterest&page=kpp_settings | 1,079 | 3.56 | 46.48 | 28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- _kp_pinterest_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/b-pinterest-feed/includes/custom-css.php:2
- > 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 96% from 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
5 plugin tags: image gallery, photo gallery, feed, pinterest, pinterest feed
b-pinterest-feed/b-pinterest-feed.php 92% from 13 tests
This is the main PHP file of "B Pinterest Feed – Pinterest Feed Plugin for WordPress" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin27,749 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 88 | 2,640 | 1,266 | 7,912 |
PO File | 20 | 3,037 | 3,414 | 6,180 |
Sass | 15 | 959 | 3 | 4,837 |
CSS | 6 | 359 | 493 | 4,806 |
JavaScript | 8 | 1,269 | 359 | 4,012 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis 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.64 |
Average class complexity | 22.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 6.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 2 | 2.90% |
▷ Concrete classes | 67 | 97.10% |
▷ Final classes | 0 | 0.00% |
Methods | 284 | |
▷ Static methods | 49 | 17.25% |
▷ Public methods | 284 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
2 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/views/framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
admin/assets/images/icon-256.png | 60.85KB | 22.84KB | ▼ 62.47% |