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.09MB] [CPU: ▼2.97ms] Passed 4 tests
This is a short check of server-side resources used by mEintopf
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 33.89 ▼6.72 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.02 ▼6.57 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.96 ▼0.24 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 97.49 ▲6.05 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.80 ▲1.64 |
Stream /wp-admin/admin.php?page=meintopf | 3.28 | 32.21 |
Feeds /wp-admin/admin.php?page=feeds | 3.28 | 30.62 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
meintopf_options |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_meintopf_following_widget |
Browser metrics Passed 4 tests
A check of browser resources used by mEintopf
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.35 ▼0.94 | 1.65 ▼0.19 | 40.42 ▼5.95 |
Dashboard /wp-admin | 2,238 ▲47 | 4.83 ▼1.07 | 108.25 ▲3.78 | 41.18 ▼1.44 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 1.99 ▲0.02 | 39.88 ▲2.82 | 34.92 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 18.08 ▼5.09 | 594.26 ▼77.86 | 63.48 ▲11.71 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.23 ▲0.01 | 95.06 ▼11.86 | 41.20 ▼2.78 |
Stream /wp-admin/admin.php?page=meintopf | 884 | 2.10 | 36.07 | 26.63 |
Feeds /wp-admin/admin.php?page=feeds | 828 | 2.19 | 25.04 | 34.41 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_meintopf_following_widget
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- meintopf_options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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
Good news, no errors were detected
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 fix the following
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/meintopf/templates/following_widget.php:1
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meintopf/meintopf.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/meintopf/templates/reposts.php:3
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/meintopf/meintopf.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meintopf/Meintopf_Following_Widget.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meintopf/Meintopf_Following_Widget.class.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/meintopf/templates/reader.php:51
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/meintopf/meintopf.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/meintopf/templates/base.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/meintopf/templates/feeds.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in meintopf/assets to your readme.txt
meintopf/meintopf.php Passed 13 tests
The main PHP script in "mEintopf" version 0.2.1 is automatically included on every request by WordPress
26 characters long description:
soup.io for the real world
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,102 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 296 | 211 | 1,548 |
PHP | 9 | 72 | 124 | 493 |
CSS | 2 | 10 | 0 | 61 |
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.24 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin