84% developer-portfolio

Code Review | Developer Portfolio

WordPress plugin Developer Portfolio scored 84% from 54 tests.

About plugin

  • Plugin page: developer-portfolio
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.5.3
  • WordPress version: 6.3.1
  • First release: Aug 4, 2016
  • Latest release: Aug 4, 2016
  • Number of updates: 7
  • Update frequency: N/A
  • Top authors: arcticanaudio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 795 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0637.87 ▼3.70
Dashboard /wp-admin3.35 ▲0.0547.78 ▼4.94
Posts /wp-admin/edit.php3.40 ▲0.0548.80 ▲3.18
Add New Post /wp-admin/post-new.php5.94 ▲0.0594.58 ▲0.15
Media Library /wp-admin/upload.php3.27 ▲0.0535.47 ▲1.62
Platforms /wp-admin/edit-tags.php?taxonomy=atc_dp_platforms&post_type=atc_dp_projects3.3635.45
Add New /wp-admin/post-new.php?post_type=atc_dp_projects3.4253.59
All Projects /wp-admin/edit.php?post_type=atc_dp_projects3.3235.80
Tools & Technologies /wp-admin/edit-tags.php?taxonomy=atc_dp_tools&post_type=atc_dp_projects3.2732.63
Programming Languages /wp-admin/edit-tags.php?taxonomy=atc_dp_languages&post_type=atc_dp_projects3.2732.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,844 ▲10913.63 ▼0.751.89 ▲0.1045.10 ▲1.46
Dashboard /wp-admin2,245 ▲574.86 ▲0.00106.65 ▼10.3639.49 ▼6.53
Posts /wp-admin/edit.php2,131 ▲422.03 ▲0.0438.38 ▲4.9835.23 ▼2.12
Add New Post /wp-admin/post-new.php1,571 ▲5223.33 ▼0.16636.65 ▼17.1058.18 ▲7.26
Media Library /wp-admin/upload.php1,427 ▲364.17 ▼0.0597.26 ▼5.9142.10 ▲0.70
Platforms /wp-admin/edit-tags.php?taxonomy=atc_dp_platforms&post_type=atc_dp_projects1,2982.1426.7028.37
Add New /wp-admin/post-new.php?post_type=atc_dp_projects2,5357.88184.9868.38
All Projects /wp-admin/edit.php?post_type=atc_dp_projects1,0831.9834.1930.19
Tools & Technologies /wp-admin/edit-tags.php?taxonomy=atc_dp_tools&post_type=atc_dp_projects1,2702.1427.7426.83
Programming Languages /wp-admin/edit-tags.php?taxonomy=atc_dp_languages&post_type=atc_dp_projects1,2732.1326.6828.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

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 === )
The official readme.txt is a good inspiration

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:
LanguageFilesBlank linesComment linesLines of code
PHP48191187
CSS18353
Markdown1104

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 code0.41
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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