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 gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▼13.41ms] Passed 4 tests
This is a short check of server-side resources used by Resume Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 36.81 ▼6.54 |
Dashboard /wp-admin | 3.79 ▲0.44 | 49.19 ▼11.63 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 49.18 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.62 ▼0.27 | 62.48 ▼34.95 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 37.58 ▲6.33 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 84 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Resume Page
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 13.33 ▼0.95 | 4.36 ▲2.44 | 41.65 ▼4.71 |
Dashboard /wp-admin | 2,211 ▲20 | 4.91 ▲0.05 | 109.97 ▲5.88 | 41.28 ▼1.69 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.06 | 40.36 ▼2.75 | 35.13 ▼4.43 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.20 ▲0.09 | 693.20 ▲80.83 | 35.92 ▼21.79 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.15 ▼0.06 | 100.08 ▲3.14 | 43.58 ▲0.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/resume-page/libs/custom-meta-boxes/example-functions.php:104
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/resume-page/libs/custom-meta-boxes/tests/testGroupField.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/resume-page/resume-page.php:15
- > PHP Warning
Use of undefined constant WP_CONTENT_URL - assumed 'WP_CONTENT_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/resume-page/libs/custom-meta-boxes/custom-meta-boxes.php on line 41
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/resume-page/libs/custom-meta-boxes/tests/testField.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/resume-page/libs/custom-meta-boxes/classes.fields.php:568
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/resume-page/templates/resume-page-template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/resume-page/libs/custom-meta-boxes/classes.fields.php:568
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/resume-page/libs/custom-meta-boxes/custom-meta-boxes.php on line 41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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
6 plugin tags: resume page, freelance portfolio, csv, resume, resume portfolio...
resume-page/resume-page.php Passed 13 tests
The main file in "Resume Page" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
117 characters long description:
Turns any Wordpress page into a beautiful Resume Page with built in Gihub activity and integrated lightbox portfolio.
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
No dangerous file extensions were detected6,410 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
LESS | 15 | 593 | 612 | 2,247 |
PHP | 13 | 870 | 368 | 2,050 |
JavaScript | 18 | 283 | 137 | 768 |
CSS | 3 | 70 | 42 | 679 |
SVG | 2 | 0 | 0 | 415 |
PO File | 2 | 71 | 76 | 217 |
Markdown | 2 | 22 | 0 | 34 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 1 | 3.85% |
▷ Concrete classes | 25 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 108 | |
▷ Static methods | 2 | 1.85% |
▷ Public methods | 103 | 95.37% |
▷ Protected methods | 1 | 0.93% |
▷ Private methods | 4 | 3.70% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.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
17 PNG files occupy 0.03MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/custom-meta-boxes/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
libs/custom-meta-boxes/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
libs/custom-meta-boxes/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
libs/custom-meta-boxes/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
libs/custom-meta-boxes/images/cmb-icon-remove@2x.png | 1.14KB | 0.23KB | ▼ 79.47% |