Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.43ms] Passed 4 tests
Analyzing server-side resources used by WP Simple Adsense Insertion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.76 ▼2.68 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.00 ▼13.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.55 ▲0.39 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.79 ▼15.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.71 ▼1.87 |
Adsense Insertion /wp-admin/options-general.php?page=wordpress-plugin-for-simple-google-adsense-insertion/WP-Simple-Adsense-Insertion.php | 3.20 | 31.93 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Simple Adsense Insertion
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.26 ▼1.12 | 2.17 ▲0.58 | 43.16 ▲3.91 |
Dashboard /wp-admin | 2,210 ▲25 | 5.85 ▲0.97 | 110.13 ▲2.17 | 37.74 ▼5.46 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 40.44 ▲4.40 | 36.31 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.74 ▼0.43 | 672.74 ▲81.26 | 63.03 ▲10.65 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.13 | 93.26 ▼5.88 | 40.71 ▼5.08 |
Adsense Insertion /wp-admin/options-general.php?page=wordpress-plugin-for-simple-google-adsense-insertion/WP-Simple-Adsense-Insertion.php | 952 | 2.05 | 22.00 | 28.52 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wordpress-plugin-for-simple-google-adsense-insertion/WP-Simple-Adsense-Insertion.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add an image for screenshot #1 (Check out this Plugin in action at https://www.tipsandtricks-hq.com)
wordpress-plugin-for-simple-google-adsense-insertion/WP-Simple-Adsense-Insertion.php 85% from 13 tests
The principal PHP file in "WP Simple Adsense Insertion" v. v2.1... is loaded by WordPress automatically on each request
You should first fix the following items:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "v2.1...")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wordpress-plugin-for-simple-google-adsense-insertion.php" instead of "WP-Simple-Adsense-Insertion.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin217 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 25 | 217 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin