90% dadevarzan-wp-resume

Code Review | Dadevarzan WordPress Resume

WordPress plugin Dadevarzan WordPress Resume scored90%from 54 tests.

About plugin

  • Plugin page: dadevarzan-wp-resume
  • Plugin version: 1.2.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-6.0.0
  • WordPress version: 6.3.1
  • First release: Feb 25, 2019
  • Latest release: May 31, 2022
  • Number of updates: 8
  • Update frequency: every 149.0 days
  • Top authors: dadevarzan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /955 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.14MB] [CPU: ▼3.17ms] Passed 4 tests

An overview of server-side resources used by Dadevarzan WordPress Resume
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1443.40 ▲2.96
Dashboard /wp-admin3.43 ▲0.1344.66 ▼7.25
Posts /wp-admin/edit.php3.53 ▲0.1845.49 ▼1.88
Add New Post /wp-admin/post-new.php6.11 ▲0.2385.40 ▼4.23
Media Library /wp-admin/upload.php3.35 ▲0.1235.95 ▲0.69

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Dadevarzan WordPress Resume: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲7713.19 ▼1.371.85 ▼0.3039.47 ▼8.71
Dashboard /wp-admin2,237 ▲525.86 ▲0.99104.98 ▼11.5640.38 ▼5.87
Posts /wp-admin/edit.php2,120 ▲312.02 ▲0.0136.34 ▼0.5533.30 ▼2.99
Add New Post /wp-admin/post-new.php1,568 ▲3518.54 ▼4.62632.51 ▼36.4658.11 ▼7.46
Media Library /wp-admin/upload.php1,419 ▲404.29 ▲0.0794.72 ▼14.8540.39 ▼14.07

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: dadevarzan, resume post type, wp, wordpress, dadehvarzan...

dadevarzan-wp-resume/dadevarzan-wp-resume.php Passed 13 tests

The main PHP file in "Dadevarzan WordPress Resume" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
30 characters long description:
resume post type for wordpress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin670 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP23718582
PO File1373888

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods7100.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
No PNG images were found in this plugin