Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.78ms] Passed 4 tests
An overview of server-side resources used by perfectPortfolioHelper
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.54 ▲2.90 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.74 ▼6.91 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.87 ▲3.53 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.00 ▼10.65 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.98 ▲6.12 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.45 | 52.24 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.41 | 43.48 |
Category /wp-admin/edit-tags.php?taxonomy=portfolio_categories&post_type=portfolio | 3.30 | 31.19 |
Server storage [IO: ▲0.02MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for perfectPortfolioHelper
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 14.41 ▲0.10 | 1.71 ▼0.15 | 37.96 ▼5.35 |
Dashboard /wp-admin | 2,240 ▲52 | 4.86 ▼1.03 | 97.69 ▼19.00 | 41.39 ▼5.38 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.06 ▲0.04 | 39.67 ▲5.08 | 33.72 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,564 ▲30 | 23.45 ▲0.11 | 664.81 ▼11.75 | 55.23 ▲5.73 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.20 ▲0.00 | 93.40 ▼14.64 | 41.76 ▼8.12 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,320 | 7.72 | 169.79 | 64.40 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,797 | 2.01 | 32.65 | 31.48 |
Category /wp-admin/edit-tags.php?taxonomy=portfolio_categories&post_type=portfolio | 1,290 | 2.13 | 26.74 | 29.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: comments, helper
portfolio-perfect/portfolioPerfectPlugin.php 85% from 13 tests
The primary PHP file in "perfectPortfolioHelper" version 1.1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("portfolio-perfect.php" instead of "portfolioPerfectPlugin.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin221 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 21 | 219 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
No PNG images were found in this plugin