Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.25ms] Passed 4 tests
Analyzing server-side resources used by Simple Pinterest Feeds
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.28 ▼8.89 |
Dashboard /wp-admin | 3.35 ▲0.05 | 53.03 ▲1.48 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.94 ▼6.40 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.63 ▼11.28 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.88 ▼2.44 |
Simple Pinterest Feeds /wp-admin/options-general.php?page=simple-pinterest-feeds/simple-pinterest-feeds.php | 3.24 | 33.32 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Pinterest Feeds
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.31 ▲0.07 | 11.09 ▲9.16 | 47.03 ▲0.09 |
Dashboard /wp-admin | 2,224 ▲21 | 5.84 ▲0.96 | 106.76 ▼5.38 | 36.63 ▼9.03 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 2.13 ▲0.11 | 38.56 ▼3.37 | 34.09 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,547 ▲16 | 23.27 ▼0.12 | 614.51 ▼145.66 | 52.29 ▼9.22 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.39 ▲0.25 | 104.60 ▼13.94 | 43.74 ▼7.56 |
Simple Pinterest Feeds /wp-admin/options-general.php?page=simple-pinterest-feeds/simple-pinterest-feeds.php | 866 | 2.06 | 25.93 | 38.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-pinterest-feeds/simple-pinterest-feeds.php:127
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: pinterest profile widget plugin, simple pinterest feeds, pinterest slider, pinterest
simple-pinterest-feeds/simple-pinterest-feeds.php Passed 13 tests
Analyzing the main PHP file in "Simple Pinterest Feeds" version 1.0
78 characters long description:
Simple Pinterest Feeds - Quick, small and easy Pinterest widget for wordpress.
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 plugin306 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 34 | 198 |
CSS | 1 | 0 | 0 | 104 |
HTML | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/spts_icon.png | 1.80KB | 1.31KB | ▼ 27.26% |