84% aria-personal-portfolio

Code Review | Aria Personal Portfolio

WordPress plugin Aria Personal Portfolio scored84%from 54 tests.

About plugin

  • Plugin page: aria-personal-por...
  • Plugin version: 3.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Mar 23, 2018
  • Latest release: Feb 6, 2023
  • Number of updates: 11
  • Update frequency: every 162.0 days
  • Top authors: ariapadweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /953 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼1.30ms] Passed 4 tests

A check of server-side resources used by Aria Personal Portfolio
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0441.79 ▲0.78
Dashboard /wp-admin3.34 ▲0.0347.37 ▼4.11
Posts /wp-admin/edit.php3.39 ▲0.0349.25 ▲0.76
Add New Post /wp-admin/post-new.php5.92 ▲0.0388.35 ▼2.63
Media Library /wp-admin/upload.php3.26 ▲0.0340.18 ▲5.19
Add New /wp-admin/post-new.php?post_type=portfolio3.3952.77
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_categories&post_type=portfolio3.2636.45
Portfolio /wp-admin/edit.php?post_type=portfolio3.3139.24

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Aria Personal Portfolio
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲6214.36 ▲0.071.67 ▲0.0547.46 ▲5.50
Dashboard /wp-admin2,226 ▲465.64 ▲0.0398.62 ▲8.0341.81 ▼2.25
Posts /wp-admin/edit.php2,131 ▲311.95 ▼0.0135.07 ▼3.6032.15 ▼3.33
Add New Post /wp-admin/post-new.php1,552 ▲1522.93 ▲4.92677.43 ▼3.8753.57 ▼31.86
Media Library /wp-admin/upload.php1,431 ▲344.19 ▲0.0195.53 ▼8.8143.38 ▼5.63
Add New /wp-admin/post-new.php?post_type=portfolio2,2927.54175.2165.92
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_categories&post_type=portfolio1,3022.1228.0932.24
Portfolio /wp-admin/edit.php?post_type=portfolio1,0921.9532.5729.40

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
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • 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)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aria-personal-portfolio/aria-personal-portfolio.php:33

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)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
  • Donate link: Please fix this invalid url: ""
  • Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
Please take inspiration from this readme.txt

aria-personal-portfolio/aria-personal-portfolio.php Passed 13 tests

The main PHP file in "Aria Personal Portfolio" ver. 3.0 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
Create your personal portfolio WordPress website. Manage and showcase past projects to get more clients

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 plugin20 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141120

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected