Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼303.34ms] Passed 4 tests
Server-side resources used by CBX Insta Photos
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.32 ▲0.60 | 38.28 ▲13.87 |
Dashboard /wp-admin | 3.54 ▲0.49 | 40.63 ▼3.65 |
Posts /wp-admin/edit.php | 3.59 ▲0.49 | 45.10 ▲8.31 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 65.70 ▼1,213.72 |
Media Library /wp-admin/upload.php | 3.49 ▲0.48 | 34.38 ▼4.31 |
Add New /wp-admin/post-new.php?post_type=cbxinstaphotos | 3.53 | 45.38 |
All CBX Insta Photos /wp-admin/edit.php?post_type=cbxinstaphotos | 3.53 | 35.95 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 47 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_cbxinstaphotos-widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CBX Insta Photos
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,688 ▲82 | 15.81 ▲0.25 | 6.57 ▼1.20 | 48.32 ▲0.97 |
Dashboard /wp-admin | 2,960 ▲104 | 5.93 ▲0.05 | 130.88 ▼16.76 | 127.22 ▲26.35 |
Posts /wp-admin/edit.php | 2,755 ▲49 | 2.68 ▼0.01 | 64.34 ▼2.61 | 94.58 ▲6.12 |
Add New Post /wp-admin/post-new.php | 1,687 ▲34 | 18.88 ▲0.27 | 376.70 ▲31.69 | 128.93 ▲23.55 |
Media Library /wp-admin/upload.php | 1,750 ▼22 | 4.99 ▼0.02 | 124.00 ▼37.59 | 124.06 ▲12.33 |
Add New /wp-admin/post-new.php?post_type=cbxinstaphotos | 2,757 | 3.64 | 86.63 | 107.72 |
All CBX Insta Photos /wp-admin/edit.php?post_type=cbxinstaphotos | 1,427 | 2.64 | 61.26 | 66.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- widget_cbxinstaphotos-widget
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 | 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #9 in cbxinstaphotos/assets to your readme.txt
cbxinstaphotos/cbxinstaphotos.php Passed 13 tests
"CBX Insta Photos" version 1.0.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
37 characters long description:
Instagram photo display for wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin3,610 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 664 | 1,280 | 1,907 |
JavaScript | 5 | 391 | 737 | 1,137 |
CSS | 6 | 111 | 45 | 563 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 10 | 8.20% |
▷ Public methods | 108 | 88.52% |
▷ Protected methods | 9 | 7.38% |
▷ Private methods | 5 | 4.10% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 5 | 50.00% |
▷ Class constants | 5 | 50.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/instafollow.png | 6.44KB | 3.23KB | ▼ 49.80% |
widgets/elementor-elements/elementor-icon/icon.png | 7.30KB | 3.54KB | ▼ 51.50% |
assets/images/white-gradient-300px.png | 0.35KB | 0.46KB | 0.00% |
assets/images/menu_icon.png | 17.67KB | 0.63KB | ▼ 96.42% |
assets/images/instagram_disconnect.png | 4.36KB | 0.95KB | ▼ 78.21% |