Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.22ms] Passed 4 tests
Analyzing server-side resources used by MediaCreeper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.32 ▲4.78 |
Dashboard /wp-admin | 3.41 ▲0.06 | 48.43 ▼18.21 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 53.70 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.37 ▼5.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.29 ▲1.21 |
MediaCreeper /wp-admin/options-general.php?page=mediacreeper-settings | 3.30 | 36.04 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_mediacreeper |
wp_mediacreeper_names |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by MediaCreeper
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.32 ▼1.27 | 1.82 ▼0.06 | 48.16 ▲6.97 |
Dashboard /wp-admin | 2,258 ▲70 | 4.90 ▼0.96 | 108.34 ▼3.01 | 40.35 ▼4.64 |
Posts /wp-admin/edit.php | 2,097 ▲11 | 2.03 ▼0.02 | 38.00 ▼0.11 | 35.41 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,521 ▲2 | 17.49 ▼5.87 | 701.93 ▲49.02 | 61.17 ▼8.00 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.31 ▲0.09 | 96.75 ▼14.30 | 42.64 ▼5.31 |
MediaCreeper /wp-admin/options-general.php?page=mediacreeper-settings | 893 | 2.23 | 24.11 | 26.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 2 tables in the database
- wp_mediacreeper
- wp_mediacreeper_names
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=mediacreeper-settings
- > Notice in wp-content/plugins/mediacreeper/options.php+52
Undefined variable: defaultdomain
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mediacreeper/metabox.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/mediacreeper/Mediacreeper.class.php on line 34
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/mediacreeper/metabox.php on line 13
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/mediacreeper/Mediacreeper.class.php on line 34
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/mediacreeper/Mediacreeper.class.php on line 34
- > PHP Notice
Undefined variable: hits in wp-content/plugins/mediacreeper/metabox.php on line 13
- > PHP Warning
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: mediacreeper, widget, plugin
mediacreeper/mediacreeper.php Passed 13 tests
"MediaCreeper" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
50 characters long description:
MediaCreeper.com statistics inside Wordpress admin
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 detected3,172 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 488 | 342 | 2,519 |
PHP | 6 | 144 | 301 | 653 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 83.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 16.28% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin