Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.61ms] Passed 4 tests
An overview of server-side resources used by Odyssey Resumes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.72 ▼2.90 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.69 ▼5.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.60 ▲2.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.40 ▼10.43 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.06 ▲0.74 |
Server storage [IO: ▲3.10MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Odyssey Resumes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.18 ▼1.19 | 1.64 ▼0.10 | 46.98 ▲6.13 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.03 | 109.08 ▲4.43 | 42.90 ▲2.53 |
Posts /wp-admin/edit.php | 2,089 ▲21 | 2.01 ▼0.03 | 39.80 ▲5.42 | 35.04 ▲3.81 |
Add New Post /wp-admin/post-new.php | 1,513 ▼20 | 17.61 ▼5.81 | 627.63 ▲24.25 | 51.47 ▲7.74 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.12 ▼0.06 | 93.24 ▼0.04 | 39.31 ▼0.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 items
- 8× PHP files trigger server errors when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/odyssey-resumes/templates/default/footer.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/odyssey-resumes/functions.php:19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/odyssey-resumes/templates/default/footer.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_footer() in wp-content/plugins/odyssey-resumes/templates/default/footer.php:33
- > PHP Notice
Undefined variable: fields in wp-content/plugins/odyssey-resumes/templates/default/footer.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/odyssey-resumes/templates/default/header.php:2
- > PHP Notice
Undefined variable: fields in wp-content/plugins/odyssey-resumes/templates/default/footer.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/odyssey-resumes/templates/default-child/header.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 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
3 plugin tags: resume, resumes, profile
odyssey-resumes/main.php 77% from 13 tests
Analyzing the main PHP file in "Odyssey Resumes" version 1.0.0
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 147 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("odyssey-resumes.php" instead of "main.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "3.1.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin8,632 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 5,062 |
Sass | 2 | 255 | 19 | 978 |
SQL | 1 | 191 | 288 | 974 |
CSS | 6 | 13 | 25 | 903 |
PHP | 10 | 172 | 112 | 553 |
SVG | 3 | 0 | 1 | 114 |
JavaScript | 1 | 18 | 6 | 48 |
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 code | 0.39 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 3 | 42.86% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.61MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot4.png | 358.71KB | 95.52KB | ▼ 73.37% |
screenshot2.png | 91.03KB | 23.91KB | ▼ 73.73% |
screenshot1.png | 88.15KB | 22.13KB | ▼ 74.89% |
templates/default/images/portfolio/booz-allen.png | 7.42KB | 7.24KB | ▼ 2.42% |
screenshot3.png | 74.53KB | 14.54KB | ▼ 80.49% |