Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/effect-maker/effect-maker.php+228
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
Server metrics [RAM: ▼1.84MB] [CPU: ▼57.03ms] Passed 4 tests
An overview of server-side resources used by Effect Maker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 4.85 ▼36.04 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.14 ▼47.26 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 5.92 ▼46.09 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.90 ▼98.73 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.78 ▼35.63 |
Server storage [IO: ▲4.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 150 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_effectmakerparameters |
wp_effectmakeruserconfigurations |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
effectmaker_db_version |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Effect Maker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 13.50 ▼1.06 | 9.82 ▲8.18 | 43.54 ▲0.03 |
Dashboard /wp-admin | 2,211 ▲31 | 5.56 ▼0.07 | 91.64 ▲1.67 | 44.33 ▲0.92 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.10 ▲0.12 | 41.70 ▲2.04 | 37.82 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.19 ▲0.12 | 692.07 ▲10.17 | 52.79 ▲0.87 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.18 ▲0.08 | 93.45 ▼16.65 | 42.42 ▼9.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/effect-maker/effect-maker.php+228
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
- Zombie tables were found after uninstall: 2 tables
- wp_effectmakeruserconfigurations
- wp_effectmakerparameters
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- effectmaker_db_version
- db_upgraded
- can_compress_scripts
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
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/effect-maker/effect-maker.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (39 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: You should set the name of your plugin on the first line (
=== effect-maker ===
)
effect-maker/effect-maker.php 92% from 13 tests
The main PHP file in "Effect Maker" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 695 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected5,248 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 24 | 396 | 298 | 4,222 |
CSS | 4 | 11 | 29 | 466 |
PHP | 1 | 34 | 15 | 308 |
XML | 1 | 0 | 0 | 139 |
HTML | 2 | 26 | 0 | 113 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
112 PNG files occupy 3.39MB with 1.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
workspace/verticalscrollericon.png | 1.88KB | 1.09KB | ▼ 41.71% |
css/images/ui-icons_217bc0_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
workspace/textfader.png | 4.44KB | 2.42KB | ▼ 45.50% |
workspace/consoleimageicon.png | 2.94KB | 1.49KB | ▼ 49.30% |
workspace/em_portrait2.png | 24.24KB | 14.63KB | ▼ 39.66% |