Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.64ms] Passed 4 tests
An overview of server-side resources used by Expert Village Media Portfolio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.33 ▼6.62 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.28 ▼4.91 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.38 ▲5.72 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.50 ▼3.02 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.70 ▲3.98 |
Filters /wp-admin/edit-tags.php?taxonomy=filterportifolio&post_type=portfolio | 3.35 | 38.03 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.43 | 52.27 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.31 | 34.49 |
Settings /wp-admin/edit.php?post_type=portfolio&page=portfolio_settings | 3.27 | 31.33 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Expert Village Media Portfolio
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 13.60 ▼0.70 | 7.17 ▲5.40 | 39.25 ▼2.30 |
Dashboard /wp-admin | 2,241 ▲53 | 4.86 ▼0.21 | 108.67 ▲2.28 | 39.95 ▲3.42 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.02 ▲0.02 | 41.10 ▲4.71 | 37.11 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,562 ▲29 | 22.94 ▼0.27 | 668.33 ▲5.46 | 68.05 ▲8.52 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.12 ▼0.05 | 112.53 ▲10.96 | 48.00 ▲5.97 |
Filters /wp-admin/edit-tags.php?taxonomy=filterportifolio&post_type=portfolio | 1,294 | 2.13 | 30.77 | 29.65 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,764 | 7.69 | 172.93 | 72.42 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,139 | 1.94 | 30.74 | 29.83 |
Settings /wp-admin/edit.php?post_type=portfolio&page=portfolio_settings | 950 | 2.02 | 22.60 | 30.52 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=portfolio&page=portfolio_settings
- > Notice in wp-content/plugins/evm-portfolio/options.php+4
Undefined variable: options_page
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/evm-portfolio/evm_portfolio.php:23
- > PHP Notice
Undefined variable: options_page in wp-content/plugins/evm-portfolio/options.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/evm-portfolio/options.php:6
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: portfolio, jquery portfolio, portfolio with filters, portfolio plugin, filterable portfolio...
evm-portfolio/evm_portfolio.php 85% from 13 tests
The main PHP script in "Expert Village Media Portfolio" version 1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 160 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("evm-portfolio.php" instead of "evm_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 plugin349 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 374 | 42 | 296 |
JavaScript | 1 | 9 | 10 | 53 |
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.22 |
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 | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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 |
img/view-details_new.png | 1.05KB | 0.56KB | ▼ 46.43% |