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.01MB] [CPU: ▼3.46ms] Passed 4 tests
This is a short check of server-side resources used by Felix - Responsive Pinterest Feed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.81 ▲3.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.12 ▼0.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.53 ▲2.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 78.09 ▼15.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.00 ▲0.16 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Felix - Responsive Pinterest Feed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.33 ▼1.02 | 2.03 ▲0.44 | 45.33 ▲5.42 |
Dashboard /wp-admin | 2,221 ▲39 | 4.94 ▼0.97 | 96.73 ▼5.78 | 81.62 ▲37.30 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 1.98 ▼0.08 | 36.47 ▼1.64 | 35.85 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.35 ▲5.87 | 691.41 ▼0.21 | 65.04 ▲13.38 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.23 ▲0.05 | 121.83 ▲12.11 | 47.54 ▲0.56 |
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
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
felix-responsive-pinterest-feed/felix-pinterest.php 85% from 13 tests
The main PHP file in "Felix - Responsive Pinterest Feed" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 172 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("felix-responsive-pinterest-feed.php" instead of "felix-pinterest.php")
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
No dangerous file extensions were detected11,520 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,266 | 1,354 | 5,840 |
CSS | 3 | 472 | 191 | 5,312 |
PHP | 5 | 43 | 9 | 368 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/felix-wp-icon.png | 1.67KB | 0.82KB | ▼ 50.93% |
assets/img/logo-felix.png | 4.37KB | 2.20KB | ▼ 49.69% |