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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.80MB] [CPU: ▼4.10ms] Passed 4 tests
This is a short check of server-side resources used by Behance Portfolio Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 48.74 ▲5.15 |
Dashboard /wp-admin | 4.25 ▲0.94 | 54.29 ▼5.62 |
Posts /wp-admin/edit.php | 4.28 ▲0.92 | 57.96 ▲5.95 |
Add New Post /wp-admin/post-new.php | 6.94 ▲1.05 | 85.48 ▼19.90 |
Media Library /wp-admin/upload.php | 4.18 ▲0.95 | 43.36 ▲3.96 |
All Projects /wp-admin/admin.php?page=eds-bpm-top-menu | 4.20 | 44.67 |
Add New /wp-admin/admin.php?page=eds-bpm-new-project | 4.20 | 45.13 |
Categories /wp-admin/admin.php?page=eds-bpm-cat-menu | 4.20 | 45.02 |
Settings /wp-admin/admin.php?page=eds-bpm-config-menu | 4.11 | 41.20 |
Server storage [IO: ▲2.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 99 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_bpm_categories |
wp_bpm_projects |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
bpm_db_version |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Behance Portfolio Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲129 | 13.41 ▼0.75 | 11.07 ▲8.89 | 42.98 ▼3.01 |
Dashboard /wp-admin | 2,229 ▲52 | 5.50 ▼0.03 | 89.75 ▼13.67 | 74.42 ▲24.87 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 1.97 ▲0.03 | 35.28 ▼3.58 | 37.21 ▲2.49 |
Add New Post /wp-admin/post-new.php | 1,573 ▲37 | 23.03 ▼0.09 | 689.23 ▼32.23 | 163.51 ▲112.44 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.13 ▼0.05 | 102.26 ▼12.63 | 78.09 ▲31.73 |
All Projects /wp-admin/admin.php?page=eds-bpm-top-menu | 1,359 | 3.35 | 51.41 | 68.40 |
Add New /wp-admin/admin.php?page=eds-bpm-new-project | 1,121 | 3.53 | 46.01 | 65.15 |
Categories /wp-admin/admin.php?page=eds-bpm-cat-menu | 1,265 | 3.52 | 47.01 | 64.21 |
Settings /wp-admin/admin.php?page=eds-bpm-config-menu | 1,134 | 3.73 | 55.44 | 73.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=eds-bpm-config-menu
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=eds-bpm-config-menu
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/portfolio-manager-powered-by-behance/includes/eds-bpm-tinymce-popup.php:5
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #8 (**Pretty URL** - Enable Disable Pretty URLs from Portfolio Manager -> Settings.), #9 (**Navigation Settings** - Options to configure different property of navigation buttons in single project view.)
portfolio-manager-powered-by-behance/edsbportman.php 77% from 13 tests
The principal PHP file in "Behance Portfolio Manager" v. 1.7.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 282 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("portfolio-manager-powered-by-behance.php" instead of "edsbportman.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected15,615 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 1,344 | 348 | 6,290 |
PO File | 10 | 1,920 | 2,310 | 4,264 |
SVG | 7 | 0 | 5 | 2,558 |
CSS | 13 | 111 | 52 | 1,847 |
JavaScript | 6 | 164 | 53 | 656 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 14 | 6.57% |
▷ Public methods | 175 | 82.16% |
▷ Protected methods | 6 | 2.82% |
▷ Private methods | 32 | 15.02% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.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
6 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/portfolio-manager.png | 1.93KB | 0.79KB | ▼ 58.83% |
images/eds-bpm-16x16.png | 1.04KB | 0.20KB | ▼ 80.97% |
images/eds-bpm-48x48.png | 3.26KB | 1.74KB | ▼ 46.72% |
images/vc-bpm.png | 1.84KB | 0.94KB | ▼ 49.07% |
images/eds-bpm-dark-20x20.png | 1.14KB | 0.20KB | ▼ 82.48% |