Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.78ms] Passed 4 tests
A check of server-side resources used by PROFI-FOTOS-online.com | Online-Shop für Fotografen
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 39.91 ▲1.90 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.04 ▼13.95 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.89 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.61 ▼11.96 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.54 ▲6.18 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for PROFI-FOTOS-online.com | Online-Shop für Fotografen
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.26 ▼1.11 | 2.00 ▲0.38 | 40.90 ▼0.07 |
Dashboard /wp-admin | 2,222 ▲34 | 4.94 ▼0.87 | 96.85 ▼7.61 | 68.75 ▲24.23 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.98 ▼0.02 | 36.83 ▼1.61 | 32.58 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.22 ▲4.93 | 704.30 ▲103.10 | 54.06 ▲2.47 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.24 ▲0.06 | 115.24 ▲13.89 | 45.31 ▲1.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/profi-fotos-online/profi-fotos-online.php:12
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
profi-fotos-online/profi-fotos-online.php Passed 13 tests
"PROFI-FOTOS-online.com | Online-Shop für Fotografen" version 1.0.28's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
52 characters long description:
PROFI-FOTOS-online.com | Online-Shop für Fotografen
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
Good job! No executable or dangerous file extensions detected706 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 85 | 177 | 607 |
CSS | 2 | 0 | 3 | 99 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 94.00 |
▷ Minimum class complexity | 94.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 16.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.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 | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 4 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 33.33% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-bg-white.png | 0.89KB | 0.37KB | ▼ 58.25% |
images/icon-bg-trans.png | 0.74KB | 0.40KB | ▼ 46.05% |
images/hilfe-session-screen.png | 44.46KB | 44.28KB | 0.40% |
images/icon-blue.png | 0.91KB | 0.38KB | ▼ 58.22% |
images/icon-128x128.png | 1.76KB | 0.89KB | ▼ 49.14% |