79% wp-resume

Code Review | WP Resume

WordPress plugin WP Resume scored79%from 54 tests.

About plugin

  • Plugin page: wp-resume
  • Plugin version: 2.5.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.6
  • WordPress version: 6.3.1
  • First release: Sep 16, 2010
  • Latest release: Dec 28, 2014
  • Number of updates: 208
  • Update frequency: every 7.5 days
  • Top authors: benbalter (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

200+ active /45,292 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼1.78ms] Passed 4 tests

This is a short check of server-side resources used by WP Resume
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1643.11 ▼1.85
Dashboard /wp-admin3.47 ▲0.1749.49 ▲3.32
Posts /wp-admin/edit.php3.59 ▲0.2348.73 ▲0.59
Add New Post /wp-admin/post-new.php6.06 ▲0.1786.42 ▼7.89
Media Library /wp-admin/upload.php3.39 ▲0.1635.84 ▲2.02
Options /wp-admin/edit.php?post_type=wp_resume_position&page=wp_resume_options3.4732.59

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 55 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
wp_resume
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

WP Resume: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,843 ▲9713.25 ▼1.134.49 ▲2.4441.83 ▲1.03
Dashboard /wp-admin2,229 ▲385.84 ▲0.96113.53 ▲6.1484.01 ▲40.11
Posts /wp-admin/edit.php2,130 ▲412.12 ▲0.0935.53 ▼5.0633.62 ▲0.28
Add New Post /wp-admin/post-new.php1,557 ▲2422.98 ▼0.13786.28 ▲178.6364.35 ▲4.44
Media Library /wp-admin/upload.php1,426 ▲384.21 ▲0.0099.74 ▼2.7166.33 ▲22.68
Options /wp-admin/edit.php?post_type=wp_resume_position&page=wp_resume_options1,7213.4259.78100.21

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • wp_resume

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
    • > GET request to /wp-admin/edit.php?post_type=wp_resume_position&page=wp_resume_options
    • > User deprecated in wp-includes/functions.php+5737
    Function wp_editor() was called with an argument that is deprecated since version 3.9.0! TinyMCE editor IDs cannot have brackets.

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-resume/templates/header.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-resume/templates/upgrade-wp.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-resume/templates/org_helptext.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Resume' not found in wp-content/plugins/wp-resume/templates/resume-json.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function checked() in wp-content/plugins/wp-resume/templates/taxonomy_box.php:12
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-resume/templates/resume-text.php:27
    • > PHP Notice
      Undefined variable: type in wp-content/plugins/wp-resume/templates/taxonomy_box.php on line 12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-resume/templates/options.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wp-resume/templates/donate.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/wp-resume/includes/class.plugin-boilerplate.php:167

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 errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: online reputation, education, resume, cv, personal branding...

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

The main PHP script in "WP Resume" version 2.5.7 is automatically included on every request by WordPress
127 characters long description:
Out-of-the-box plugin which utilizes custom post types and taxonomies to add a snazzy resume to your personal blog or Web site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected4,628 lines of code in 44 files:
LanguageFilesBlank linesComment linesLines of code
PHP279971,2162,051
PO File56406411,465
HTML11230571
Markdown5960291
JavaScript3148120
CoffeeScript117582
CSS2142148

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity17.92
▷ Minimum class complexity2.00
▷ Maximum class complexity73.00
Average method complexity2.53
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes13
▷ Abstract classes00.00%
▷ Concrete classes13100.00%
▷ Final classes00.00%
Methods144
▷ Static methods00.00%
▷ Public methods144100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.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
4 PNG files occupy 0.16MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png82.23KB26.52KB▼ 67.75%
img/menu-icon.png3.30KB0.73KB▼ 77.86%
screenshot-1.png64.56KB20.70KB▼ 67.94%
screenshot-3.png13.02KB3.33KB▼ 74.44%