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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.84ms] Passed 4 tests
This is a short check of server-side resources used by Stetic
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.14 ▲0.24 |
Dashboard /wp-admin | 3.37 ▲0.02 | 55.74 ▼9.02 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.00 ▼0.63 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 84.99 ▼9.93 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 36.94 ▲1.65 |
Stetic /wp-admin/options-general.php?page=stetic/stetic.php&tab=settings | 3.25 | 35.72 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Stetic
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲109 | 14.90 ▲0.54 | 1.55 ▼0.13 | 39.13 ▼2.32 |
Dashboard /wp-admin | 2,289 ▲112 | 6.86 ▲1.19 | 109.36 ▲14.61 | 51.42 ▲8.43 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 1.98 ▼0.05 | 35.23 ▼2.40 | 32.60 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 22.99 ▼0.09 | 744.49 ▲116.62 | 62.05 ▲6.09 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.24 ▲0.04 | 104.55 ▼1.32 | 68.04 ▲23.48 |
Stetic /wp-admin/options-general.php?page=stetic/stetic.php&tab=settings | 906 | 2.17 | 23.74 | 28.82 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/stetic/stetic.php:392
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Stetic Dashboard with more statistic data), #2 (Stetic settings), #3 (Stetic on wordpress dashboard)
stetic/stetic.php 92% from 13 tests
Analyzing the main PHP file in "Stetic" version 1.0.12
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 172 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin797 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 67 | 0 | 352 |
PHP | 1 | 47 | 52 | 301 |
CSS | 2 | 17 | 4 | 144 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.77 |
Average class complexity | 61.00 |
▷ Minimum class complexity | 61.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 5.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 13 | |
▷ Static methods | 11 | 84.62% |
▷ Public methods | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.15MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 23.10KB | 10.49KB | ▼ 54.59% |
screenshot-2.png | 50.39KB | 20.90KB | ▼ 58.53% |
img/icon.png | 0.28KB | 0.36KB | 0.00% |
img/browser-logos.png | 7.32KB | 2.87KB | ▼ 60.76% |
img/os-logos.png | 3.21KB | 1.87KB | ▼ 41.67% |