Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▼1.93ms] Passed 4 tests
An overview of server-side resources used by Responsive Filterable Portfolio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 43.90 ▼2.59 |
Dashboard /wp-admin | 3.82 ▲0.52 | 50.52 ▼3.45 |
Posts /wp-admin/edit.php | 3.93 ▲0.58 | 55.29 ▲10.62 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 95.25 ▼5.77 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 41.49 ▲4.09 |
Preview Portfolio /wp-admin/admin.php?page=responsive_portfolio_with_lightbox_media_preview | 3.74 | 43.43 |
Portfolio Settings /wp-admin/admin.php?page=responsive_portfolio_with_lightbox | 3.72 | 47.28 |
Manage Media /wp-admin/admin.php?page=responsive_portfolio_with_lightbox_media_management | 3.74 | 44.65 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 32 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_e_portfolio |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
best_portfolio_grid_settings |
wp_best_portfolio_msg |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Filterable Portfolio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.28 ▼0.07 | 1.61 ▼0.63 | 42.61 ▼2.97 |
Dashboard /wp-admin | 2,229 ▲49 | 5.63 ▲0.00 | 90.90 ▲1.58 | 36.73 ▼4.28 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▲0.05 | 34.45 ▼3.33 | 33.84 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,551 ▲16 | 23.66 ▼1.67 | 690.19 ▲0.79 | 51.04 ▼15.11 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.20 ▲0.06 | 96.68 ▼39.55 | 42.78 ▼1.02 |
Preview Portfolio /wp-admin/admin.php?page=responsive_portfolio_with_lightbox_media_preview | 1,180 | 3.52 | 45.91 | 75.32 |
Portfolio Settings /wp-admin/admin.php?page=responsive_portfolio_with_lightbox | 1,532 | 4.93 | 107.17 | 77.02 |
Manage Media /wp-admin/admin.php?page=responsive_portfolio_with_lightbox_media_management | 1,350 | 4.44 | 88.97 | 67.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_e_portfolio
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- wp_best_portfolio_msg
- best_portfolio_grid_settings
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 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 50% from 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
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_filter() in wp-content/plugins/responsive-filterable-portfolio/wp-best-portfolio.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: wordpress filterable portfolio plugin, portfolio gallery, responsive media gallery, wordpress media gallery, media grid...
responsive-filterable-portfolio/wp-best-portfolio.php 92% from 13 tests
Analyzing the main PHP file in "Responsive Filterable Portfolio" version 1.0.22
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("responsive-filterable-portfolio.php" instead of "wp-best-portfolio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,666 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 815 | 127 | 3,049 |
JavaScript | 3 | 434 | 67 | 1,093 |
CSS | 3 | 116 | 36 | 524 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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 | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
15 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vl-box/playico2.png | 0.93KB | 0.91KB | ▼ 2.41% |
images/red-play.png | 3.56KB | 2.13KB | ▼ 40.27% |
images/desc.png | 0.16KB | 0.12KB | ▼ 23.31% |
images/video.png | 0.66KB | 0.73KB | 0.00% |
images/playico.png | 0.93KB | 0.91KB | ▼ 2.41% |