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.04MB] [CPU: ▼0.94ms] Passed 4 tests
A check of server-side resources used by Awesome Wp Mixitup Portfolio
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.79 ▼5.37 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.51 ▼6.07 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.47 ▲3.70 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 104.79 ▲13.14 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.93 ▲3.97 |
Portfolio /wp-admin/edit.php?post_type=advanced-portfolio | 3.31 | 38.57 |
add protfolio /wp-admin/post-new.php?post_type=advanced-portfolio | 3.39 | 65.89 |
category /wp-admin/edit-tags.php?taxonomy=advanced_taxonomoy&post_type=advanced-portfolio | 3.39 | 36.08 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Awesome Wp Mixitup Portfolio
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲184 | 14.07 ▼0.49 | 5.64 ▲3.21 | 45.49 ▲2.14 |
Dashboard /wp-admin | 2,237 ▲46 | 5.85 ▲0.98 | 112.45 ▲7.61 | 42.06 ▼3.46 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▼0.02 | 40.52 ▲0.10 | 35.31 ▼4.24 |
Add New Post /wp-admin/post-new.php | 1,568 ▲26 | 18.50 ▼4.56 | 623.63 ▼24.52 | 51.25 ▼1.25 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.22 ▼0.01 | 96.21 ▼8.34 | 43.06 ▼0.72 |
Portfolio /wp-admin/edit.php?post_type=advanced-portfolio | 1,087 | 1.98 | 37.09 | 29.42 |
add protfolio /wp-admin/post-new.php?post_type=advanced-portfolio | 2,271 | 7.53 | 181.07 | 68.97 |
category /wp-admin/edit-tags.php?taxonomy=advanced_taxonomoy&post_type=advanced-portfolio | 1,293 | 2.14 | 30.02 | 28.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Unterminated comment starting line 3 in wp-content/plugins/awesome-wp-mixitup-portfolio/index.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awesome-wp-mixitup-portfolio/Awesome-Wp-Mixitup-Portfolio.php:18
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Plugin Name: You should set the name of your plugin on the first line (
=== awesome-wp-mixitup-portfolio ===
)
awesome-wp-mixitup-portfolio/Awesome-Wp-Mixitup-Portfolio.php 92% from 13 tests
"Awesome Wp Mixitup Portfolio" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("awesome-wp-mixitup-portfolio.php" instead of "Awesome-Wp-Mixitup-Portfolio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected355 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 62 | 6 | 259 |
PHP | 2 | 52 | 7 | 92 |
JavaScript | 2 | 4 | 14 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin