Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.87ms] Passed 4 tests
An overview of server-side resources used by Slim WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.44 ▲1.79 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.99 ▼15.32 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 49.53 ▲0.14 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.28 ▼20.61 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 38.30 ▲0.31 |
Server storage [IO: ▲3.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Slim WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.35 ▼0.20 | 1.66 ▼0.35 | 42.19 ▲1.13 |
Dashboard /wp-admin | 2,213 ▲36 | 5.63 ▼0.07 | 85.28 ▼7.56 | 87.92 ▲48.51 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.97 ▲0.02 | 36.88 ▼4.78 | 33.23 ▼8.05 |
Add New Post /wp-admin/post-new.php | 1,553 ▲26 | 23.04 ▲0.03 | 697.77 ▲31.40 | 107.82 ▲56.86 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.14 ▼0.10 | 99.28 ▼27.19 | 74.11 ▲25.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
slim-wp/slim-wp.php Passed 13 tests
The entry point to "Slim WordPress" version 1.0.0 is a PHP file that has certain tags in its header comment area
67 characters long description:
Send your site on a diet and remove unnecessary WordPress features!
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
Success! There were no dangerous files found in this plugin59,152 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 985 | 43,314 | 58,796 |
PHP | 7 | 76 | 36 | 263 |
SVG | 1 | 0 | 0 | 67 |
Markdown | 1 | 13 | 0 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 19 | 76.00% |
▷ Public methods | 21 | 84.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.00% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
angular/backend/dist/assets/slim-wp-ohne.png | 15.68KB | 5.79KB | ▼ 63.08% |
angular/backend/dist/assets/fast-wp-ohne.png | 11.91KB | 6.01KB | ▼ 49.52% |
img/velocious-logo-yellow.png | 0.75KB | 0.72KB | ▼ 3.93% |
img/smart-wp-ohne.png | 10.90KB | 5.14KB | ▼ 52.82% |
img/fast-wp-ohne.png | 11.91KB | 6.01KB | ▼ 49.52% |