Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.72ms] Passed 4 tests
Server-side resources used by Developer Portfolio
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.87 ▼3.70 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.78 ▼4.94 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.80 ▲3.18 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 94.58 ▲0.15 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 35.47 ▲1.62 |
Platforms /wp-admin/edit-tags.php?taxonomy=atc_dp_platforms&post_type=atc_dp_projects | 3.36 | 35.45 |
Add New /wp-admin/post-new.php?post_type=atc_dp_projects | 3.42 | 53.59 |
All Projects /wp-admin/edit.php?post_type=atc_dp_projects | 3.32 | 35.80 |
Tools & Technologies /wp-admin/edit-tags.php?taxonomy=atc_dp_tools&post_type=atc_dp_projects | 3.27 | 32.63 |
Programming Languages /wp-admin/edit-tags.php?taxonomy=atc_dp_languages&post_type=atc_dp_projects | 3.27 | 32.68 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Developer Portfolio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 13.63 ▼0.75 | 1.89 ▲0.10 | 45.10 ▲1.46 |
Dashboard /wp-admin | 2,245 ▲57 | 4.86 ▲0.00 | 106.65 ▼10.36 | 39.49 ▼6.53 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.03 ▲0.04 | 38.38 ▲4.98 | 35.23 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,571 ▲52 | 23.33 ▼0.16 | 636.65 ▼17.10 | 58.18 ▲7.26 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.17 ▼0.05 | 97.26 ▼5.91 | 42.10 ▲0.70 |
Platforms /wp-admin/edit-tags.php?taxonomy=atc_dp_platforms&post_type=atc_dp_projects | 1,298 | 2.14 | 26.70 | 28.37 |
Add New /wp-admin/post-new.php?post_type=atc_dp_projects | 2,535 | 7.88 | 184.98 | 68.38 |
All Projects /wp-admin/edit.php?post_type=atc_dp_projects | 1,083 | 1.98 | 34.19 | 30.19 |
Tools & Technologies /wp-admin/edit-tags.php?taxonomy=atc_dp_tools&post_type=atc_dp_projects | 1,270 | 2.14 | 27.74 | 26.83 |
Programming Languages /wp-admin/edit-tags.php?taxonomy=atc_dp_languages&post_type=atc_dp_projects | 1,273 | 2.13 | 26.68 | 28.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
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
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/developer-portfolio/partials/cptandtax.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/developer-portfolio/partials/rendering.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/developer-portfolio/partials/metaboxes.php:101
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/developer-portfolio/partials/metaboxes.php:101
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== developer-portfolio ===
)
developer-portfolio/developer-portfolio.php Passed 13 tests
The main PHP script in "Developer Portfolio" version 1.0.1 is automatically included on every request by WordPress
42 characters long description:
A portfolio plugin designed for developers
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 detected244 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 81 | 91 | 187 |
CSS | 1 | 8 | 3 | 53 |
Markdown | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG images were not found in this plugin