72% my-resume-builder

Code Review | My Resume Builder

WordPress plugin My Resume Builder scored 72% from 54 tests.

About plugin

  • Plugin page: my-resume-builder
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.7
  • WordPress version: 6.3.1
  • First release: Nov 3, 2020
  • Latest release: Jul 30, 2021
  • Number of updates: 23
  • Update frequency: every 11.7 days
  • Top authors: abditsori (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 3,430 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.08MB] [CPU: ▼3.31ms] Passed 4 tests

Server-side resources used by My Resume Builder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0937.03 ▼0.85
Dashboard /wp-admin3.38 ▲0.0848.07 ▼1.43
Posts /wp-admin/edit.php3.43 ▲0.0847.09 ▼0.82
Add New Post /wp-admin/post-new.php5.96 ▲0.0794.15 ▼7.33
Media Library /wp-admin/upload.php3.30 ▲0.0734.84 ▼3.64
Add New /wp-admin/post-new.php?post_type=mrb3.3457.71
My Resumes /wp-admin/edit.php?post_type=mrb3.3536.37

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

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

Browser metrics Passed 4 tests

My Resume Builder: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲9514.78 ▲0.401.71 ▼0.0238.68 ▼1.26
Dashboard /wp-admin2,230 ▲485.80 ▲0.9396.51 ▼5.1338.97 ▼2.39
Posts /wp-admin/edit.php2,116 ▲301.99 ▲0.0339.60 ▼0.1735.04 ▼0.73
Add New Post /wp-admin/post-new.php1,557 ▲3823.28 ▲0.15598.02 ▼114.6848.48 ▼14.46
Media Library /wp-admin/upload.php1,415 ▲244.20 ▼0.0593.51 ▼15.5741.63 ▼4.97
Add New /wp-admin/post-new.php?post_type=mrb2,2576.81150.89152.04
My Resumes /wp-admin/edit.php?post_type=mrb1,0891.9829.5731.09

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Notice in wp-content/plugins/my-resume-builder/my-resume-builder.php+96
    Undefined index: mrb_contact
  • 8 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Notice in wp-content/plugins/my-resume-builder/my-resume-builder.php+136
    Trying to access array offset on value of type null
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Notice in wp-content/plugins/my-resume-builder/my-resume-builder.php+150
    Undefined index: mrb_experience
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Warning in wp-content/plugins/my-resume-builder/my-resume-builder.php+279
    array_keys() expects parameter 1 to be array, null given
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Warning in wp-content/plugins/my-resume-builder/my-resume-builder.php+279
    max(): When only one parameter is given, it must be an array
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Warning in wp-content/plugins/my-resume-builder/my-resume-builder.php+280
    Invalid argument supplied for foreach()
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Notice in wp-content/plugins/my-resume-builder/my-resume-builder.php+218
    Undefined index: mrb_skills
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Notice in wp-content/plugins/my-resume-builder/my-resume-builder.php+278
    Undefined index: mrb_projects

SRP 50% from 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
Almost there! Just fix the following items
  • 2× 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/my-resume-builder/my-resume-builder.php:34
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_singular() in wp-content/plugins/my-resume-builder/templates/my-resume.php:3

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Network (severe)
    wp-content/plugins/my-resume-builder/js/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css?t=L4KA - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Network (severe)
    wp-content/plugins/my-resume-builder/js/ckeditor/plugins/scayt/dialogs/dialog.css?t=L4KA - Failed to load resource: the server responded with a status of 404 (Not Found)
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Network (severe)
    wp-content/plugins/my-resume-builder/js/ckeditor/plugins/tableselection/styles/tableselection.css - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Network (severe)
    wp-content/plugins/my-resume-builder/js/ckeditor/plugins/dialog/styles/dialog.css - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/post-new.php?post_type=mrb
    • > Network (severe)
    wp-content/plugins/my-resume-builder/js/ckeditor/contents.css?t=L4KA - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: cv, curriculum-vitae, resume builder, my-resume-builder, resume

my-resume-builder/my-resume-builder.php 85% from 13 tests

The main PHP file in "My Resume Builder" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Domain Path: Prefix the domain path with a forward slash character ("/languages")
  • Domain Path: The domain path should use only dashes and lowercase characters ("languages")

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
Success! There were no dangerous files found in this plugin12,420 lines of code in 102 files:
LanguageFilesBlank linesComment linesLines of code
SVG60110,083
JavaScript80553861,664
PHP24427525
CSS131947112
Markdown110036

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.59
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%
Constants1
▷ Global constants1100.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
13 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/avatar-default-circle.png3.96KB3.96KB0.05%
js/ckeditor/skins/moono-lisa/images/hidpi/refresh.png1.58KB0.67KB▼ 57.73%
js/ckeditor/skins/moono-lisa/images/arrow.png0.19KB0.17KB▼ 6.81%
js/ckeditor/skins/moono-lisa/images/close.png0.60KB0.24KB▼ 59.35%
js/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png1.05KB0.40KB▼ 62.00%