Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼14.97ms] Passed 4 tests
An overview of server-side resources used by Owner/Author Ad Split for Genesis
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 50.17 ▲9.73 |
Dashboard /wp-admin | 3.41 ▲0.11 | 44.84 ▲1.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.04 ▼3.55 |
Add New Post /wp-admin/post-new.php | 3.26 ▼2.63 | 34.96 ▼58.76 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 36.58 ▲1.13 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Owner/Author Ad Split for Genesis
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.16 ▼1.13 | 1.62 ▼0.83 | 41.28 ▼8.90 |
Dashboard /wp-admin | 2,206 ▲18 | 5.87 ▼0.03 | 104.82 ▲3.75 | 40.41 ▼0.53 |
Posts /wp-admin/edit.php | 1,337 ▼751 | 1.14 ▼0.86 | 7.65 ▼33.03 | 32.60 ▼3.05 |
Add New Post /wp-admin/post-new.php | 45 ▼1,497 | 0.44 ▼17.75 | 0.09 ▼619.17 | 9.41 ▼49.61 |
Media Library /wp-admin/upload.php | 1,379 ▼3 | 4.22 ▼0.08 | 100.44 ▲3.14 | 75.11 ▲30.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- recovery_mode_email_last_sent
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Admin_Boxes' not found in wp-content/plugins/ownerauthor-ad-split-for-genesis/admin/Global_Settings.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: genesis, ads, adsense, ad sharing
ownerauthor-ad-split-for-genesis/adsense-owner-author-split.php 69% from 13 tests
"Owner/Author Ad Split for Genesis" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ownerauthor-ad-split-for-genesis.php" instead of "adsense-owner-author-split.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin562 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 246 | 432 | 522 |
JavaScript | 2 | 15 | 0 | 40 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.71 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 6 | 15.79% |
▷ Public methods | 34 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.53% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin