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.07MB] [CPU: ▼7.10ms] Passed 4 tests
Server-side resources used by WP Live Portfolio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 20.43 ▼21.83 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.61 ▼2.90 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.67 ▼0.35 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 82.65 ▼3.33 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.34 ▲4.40 |
All Portfolio /wp-admin/edit.php?post_type=wp-portfolio | 3.36 | 34.44 |
Categories /wp-admin/edit-tags.php?taxonomy=wp-portfolio-cat&post_type=wp-portfolio | 3.31 | 33.05 |
Add Portfolio /wp-admin/post-new.php?post_type=wp-portfolio | 3.45 | 55.05 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Live Portfolio
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 13.66 ▼0.92 | 1.84 ▲0.03 | 40.15 ▼7.70 |
Dashboard /wp-admin | 2,237 ▲49 | 5.87 ▲0.96 | 103.02 ▼18.32 | 39.26 ▼5.09 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.00 ▼0.01 | 39.42 ▲2.29 | 37.29 ▲3.67 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 23.23 ▲5.76 | 658.50 ▼18.73 | 57.69 ▲1.33 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.20 ▼0.01 | 95.83 ▼3.53 | 43.27 ▲0.60 |
All Portfolio /wp-admin/edit.php?post_type=wp-portfolio | 1,109 | 1.93 | 31.37 | 32.31 |
Categories /wp-admin/edit-tags.php?taxonomy=wp-portfolio-cat&post_type=wp-portfolio | 1,290 | 2.14 | 25.89 | 29.74 |
Add Portfolio /wp-admin/post-new.php?post_type=wp-portfolio | 2,319 | 7.70 | 165.83 | 63.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-live-portfolio/wp-live-portfolio.php:70
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Add /Edit New Portfolio), #2 (Live Portfolio List), #3 (Single Portfolio - Desktop View)
wp-live-portfolio/wp-live-portfolio.php Passed 13 tests
The main PHP script in "WP Live Portfolio" version 1.0.0 is automatically included on every request by WordPress
130 characters long description:
Showcase your website design work and website demos from the live URL. Plugin shows desktop, tab and mobile view of the live link.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected687 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 94 | 34 | 357 |
CSS | 1 | 33 | 0 | 279 |
JavaScript | 1 | 5 | 0 | 51 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin