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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.60ms] Passed 4 tests
This is a short check of server-side resources used by Simple Wp Mixitup Portfolio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.96 ▼1.72 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.41 ▼3.45 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.44 ▼0.93 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.50 ▼8.28 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.47 ▲0.49 |
category /wp-admin/edit-tags.php?taxonomy=advanced_taxonomoy&post_type=simple-portfolio | 3.25 | 33.39 |
add protfolio /wp-admin/post-new.php?post_type=simple-portfolio | 3.38 | 49.73 |
Portfolio /wp-admin/edit.php?post_type=simple-portfolio | 3.30 | 37.98 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Wp Mixitup Portfolio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 13.77 ▼0.77 | 8.62 ▲6.99 | 39.02 ▼0.78 |
Dashboard /wp-admin | 2,226 ▲46 | 5.64 ▼0.02 | 82.97 ▼7.45 | 37.43 ▼4.15 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▲0.02 | 35.97 ▼0.71 | 31.78 ▼8.62 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 22.68 ▼0.61 | 585.82 ▼12.66 | 63.82 ▲8.65 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.20 ▼0.04 | 101.50 ▼5.13 | 44.97 ▼6.32 |
category /wp-admin/edit-tags.php?taxonomy=advanced_taxonomoy&post_type=simple-portfolio | 1,308 | 2.12 | 27.93 | 27.42 |
add protfolio /wp-admin/post-new.php?post_type=simple-portfolio | 2,292 | 7.58 | 170.95 | 60.44 |
Portfolio /wp-admin/edit.php?post_type=simple-portfolio | 1,095 | 2.06 | 37.01 | 33.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-wp-mixitup-portfolio/Simple-Wp-Mixitup-Portfolio.php:13
- > PHP Warning
Unterminated comment starting line 3 in wp-content/plugins/simple-wp-mixitup-portfolio/index.php on line 3
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Plugin Name: Please specify the plugin name on the first line (
=== simple-wp-mixitup-portfolio ===
)
simple-wp-mixitup-portfolio/Simple-Wp-Mixitup-Portfolio.php 92% from 13 tests
Analyzing the main PHP file in "Simple Wp Mixitup Portfolio" version 1.0
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-wp-mixitup-portfolio.php" instead of "Simple-Wp-Mixitup-Portfolio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin398 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 47 | 6 | 300 |
PHP | 2 | 29 | 7 | 94 |
JavaScript | 2 | 4 | 14 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin