Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.68ms] Passed 4 tests
Analyzing server-side resources used by Funny Equations
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.93 ▼2.49 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.50 ▼0.59 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.16 ▼1.14 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.36 ▼12.41 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.80 ▼2.66 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Funny Equations
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲155 | 14.04 ▼0.16 | 5.49 ▲3.68 | 44.08 ▼2.23 |
Dashboard /wp-admin | 2,219 ▲31 | 4.84 ▼1.04 | 96.23 ▼19.83 | 37.65 ▼7.56 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.02 ▼0.03 | 38.57 ▲1.47 | 35.04 ▲2.92 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 23.36 ▲5.67 | 689.81 ▲21.69 | 57.04 ▼4.38 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.22 ▲0.03 | 94.28 ▼15.13 | 43.02 ▼1.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Screenshot 1) image required
funny-equations/oufunny_equations.php 77% from 13 tests
This is the main PHP file of "Funny Equations" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 158 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("funny-equations.php" instead of "oufunny_equations.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected979 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 143 | 74 | 741 |
CSS | 1 | 43 | 6 | 238 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 4 | |
▷ Named functions | 4 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.49MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 80.82KB | 45.84KB | ▼ 43.28% |
images/b2.png | 77.34KB | 43.46KB | ▼ 43.80% |
images/b1.png | 83.64KB | 49.34KB | ▼ 41.00% |
images/screenshot-1.png | 80.82KB | 45.84KB | ▼ 43.28% |
images/a1.png | 177.05KB | 97.05KB | ▼ 45.19% |