Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/yepty/YeptyError.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyErrorReporter has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼52.87ms] Passed 4 tests
A check of server-side resources used by Yepty - Pay Per Click Advertising. Monetize Blog and SkyRocket Income with Relevant Contextual Ads
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.49 ▼38.66 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.93 ▼38.11 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.65 ▼43.68 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 9.35 ▼91.03 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.48 ▼34.71 |
Yepty /wp-admin/options-general.php?page=yepty-menu | 2.08 | 6.35 |
Server storage [IO: ▲2.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 90 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Yepty - Pay Per Click Advertising. Monetize Blog and SkyRocket Income with Relevant Contextual Ads: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.35 ▼1.26 | 5.31 ▲3.24 | 38.06 ▼4.77 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼1.06 | 107.19 ▲2.26 | 40.74 ▲0.10 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▼0.01 | 39.65 ▼1.03 | 35.23 ▲1.46 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.63 ▼5.72 | 659.63 ▼36.16 | 45.03 ▼10.96 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.04 | 95.49 ▼13.57 | 43.83 ▼3.43 |
Yepty /wp-admin/options-general.php?page=yepty-menu | 6,028 | 5.04 | 145.69 | 136.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/yepty/YeptyError.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyErrorReporter has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Deprecated in wp-content/plugins/yepty/YeptyError.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyErrorReporter has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Deprecated in wp-content/plugins/yepty/YeptyWidget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyWidget has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Deprecated in wp-content/plugins/yepty/YeptyAdmin.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyAdmin has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Deprecated in wp-content/plugins/yepty/YeptyView.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyView has a deprecated constructor
- 80 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Deprecated in wp-content/plugins/yepty/YeptyJson.php+325
Array and string offset access syntax with curly braces is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Deprecated in wp-content/plugins/yepty/YeptyJson.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyJson has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Deprecated in wp-content/plugins/yepty/YeptyJson.php+358
Methods with the same name as their class will not be constructors in a future version of PHP; YeptyJson_Error has a deprecated constructor
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > POST request to /wp-admin/admin-ajax.php?action=yepty_on_form_request
- > Notice in wp-content/plugins/yepty/yepty.php+51
Only variables should be passed by reference
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > Notice in wp-content/plugins/yepty/templates/adZonesConstructor.phtml+410
Undefined index: bcol
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
Please fix the following
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'YeptyMain' not found in wp-content/plugins/yepty/YeptyView.php:2
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/yepty/YeptyMain.php on line 17
- > PHP Notice
Only variables should be passed by reference in wp-content/plugins/yepty/yepty.php on line 51
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/yepty/YeptyMain.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'YeptyMain' not found in wp-content/plugins/yepty/YeptyAdmin.php:2
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/yepty/YeptyMain.php on line 20
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/yepty/YeptyMain.php on line 17
- > PHP Notice
Only variables should be passed by reference in wp-content/plugins/yepty/yepty.php on line 51
- > PHP Fatal error
Uncaught Error: Class 'YeptyMain' not found in wp-content/plugins/yepty/YeptyWidget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/yepty/yepty.php:52
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > Network (severe)
http://heartcode-canvasloader.googlecode.com/files/heartcode-canvasloader-min-0.9.js - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:6139 Uncaught TypeError: W(...).on is not a function
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > Javascript (severe) in unknown
/wp-includes/js/heartbeat.min.js?ver=6.3.1 1:5086 Uncaught TypeError: i.on is not a function
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > Javascript (severe) in unknown
/wp-includes/js/wp-auth-check.min.js?ver=6.3.1 1:502 Uncaught TypeError: i(...).on is not a function
- > GET request to /wp-admin/options-general.php?page=yepty-menu
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:3796 Uncaught TypeError: W(...).on is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 38 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Plugin page overview (Content integrated ads).), #2 (Plugin page overview (Static Ad Units).), #3 (In-text customization.), #4 (In-Image customization.), #5 (Slider Advertising demo.), #6 (In-Image Advertising demo.), #7 (In-text Advertising demo.), #8 (Ad-line Advertising demo.), #9 (Text Ads Advertising demo.), #10 (Tag-Cloud Advertising demo.), #11 (Related Tags Advertising demo.)
yepty/yepty.php 92% from 13 tests
The main PHP script in "Yepty - Pay Per Click Advertising. Monetize Blog and SkyRocket Income with Relevant Contextual Ads" version 1.5 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: A good plugin description is longer than 10 characters (currently 6 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin6,166 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 161 | 29 | 3,015 |
JavaScript | 11 | 164 | 185 | 2,809 |
CSS | 3 | 11 | 22 | 342 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 46.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 5.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 64 | 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 | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
42 PNG files occupy 1.43MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/smallyepty.png | 3.00KB | 0.47KB | ▼ 84.26% |
js/farbtastic/mask.png | 1.97KB | 4.18KB | 0.00% |
screenshot-2.png | 170.30KB | 61.71KB | ▼ 63.76% |
js/farbtastic/marker.png | 0.64KB | 0.71KB | 0.00% |
img/tweet.png | 1.15KB | 1.22KB | 0.00% |