Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲4.98MB] [CPU: ▲26.01ms] Passed 4 tests
Analyzing server-side resources used by HM Resume Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.87 ▲5.41 | 64.90 ▲26.64 |
Dashboard /wp-admin | 8.89 ▲5.55 | 78.75 ▲12.11 |
Posts /wp-admin/edit.php | 8.89 ▲5.54 | 92.73 ▲40.47 |
Add New Post /wp-admin/post-new.php | 9.33 ▲3.44 | 126.02 ▲24.81 |
Media Library /wp-admin/upload.php | 8.89 ▲5.67 | 76.61 ▲41.81 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.89 | 66.67 |
Server storage [IO: ▲4.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 258 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
fs_accounts |
fs_active_plugins |
widget_recent-comments |
fs_debug_mode |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HM Resume Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,175 ▲429 | 15.99 ▲1.61 | 8.24 ▲6.27 | 34.27 ▼5.93 |
Dashboard /wp-admin | 2,441 ▲238 | 6.90 ▲2.03 | 141.18 ▲34.34 | 46.94 ▲8.69 |
Posts /wp-admin/edit.php | 2,347 ▲247 | 3.98 ▲1.94 | 60.63 ▲18.93 | 40.10 ▲2.88 |
Add New Post /wp-admin/post-new.php | 1,582 ▲56 | 23.49 ▼0.34 | 657.46 ▼8.25 | 37.08 ▼16.52 |
Media Library /wp-admin/upload.php | 1,474 ▲74 | 4.77 ▲0.55 | 127.27 ▲20.63 | 56.68 ▲7.27 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,312 | 3.79 | 45.45 | 27.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/hm-resume-manager/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 9 options
- can_compress_scripts
- fs_active_plugins
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- fs_accounts
- fs_debug_mode
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The following issues need your attention
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function stripslashes_deep() in wp-content/plugins/hm-resume-manager/admin/view/style.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/hm-resume-manager/admin/view/personal-info.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/hm-resume-manager/admin/view/experience.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/hm-resume-manager/admin/view/education.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/hm-resume-manager/front/view/resume.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/hm-resume-manager/admin/view/popup/employment-history.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/hm-resume-manager/admin/view/popup/employment-history-edit.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/hm-resume-manager/admin/view/skills.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: skills, resume, experience, cv, education
hm-resume-manager/hm-resume-manager.php 92% from 13 tests
The principal PHP file in "HM Resume Manager" v. 2.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
Code Analysis 97% from 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
No dangerous file extensions were detected48,737 lines of code in 193 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 132 | 8,125 | 17,242 | 34,237 |
JavaScript | 7 | 1,250 | 719 | 4,203 |
CSS | 20 | 261 | 48 | 3,708 |
SVG | 2 | 1 | 0 | 2,684 |
Sass | 15 | 36 | 36 | 1,796 |
LESS | 15 | 36 | 46 | 1,786 |
Markdown | 1 | 68 | 0 | 214 |
PO File | 1 | 45 | 49 | 109 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 86.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,289 | |
▷ Static methods | 197 | 15.28% |
▷ Public methods | 894 | 69.36% |
▷ Protected methods | 20 | 1.55% |
▷ Private methods | 375 | 29.09% |
Functions | 99 | |
▷ Named functions | 99 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 152 | |
▷ Global constants | 105 | 69.08% |
▷ Class constants | 47 | 30.92% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |