Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/eewee-popup/controllers/EeweePopup.php+2
Use of undefined constant EeweePopup - assumed 'EeweePopup' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.95MB] [CPU: ▼54.14ms] Passed 4 tests
A check of server-side resources used by eewee popup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 6.78 ▼29.22 |
Dashboard /wp-admin | 2.07 ▼1.27 | 7.52 ▼52.37 |
Posts /wp-admin/edit.php | 2.07 ▼1.28 | 6.62 ▼45.82 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 6.84 ▼89.14 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 5.89 ▼26.46 |
Eewee Popup /wp-admin/admin.php?page=idEeweePopup | 2.07 | 6.90 |
Manual /wp-admin/admin.php?page=idSousMenuTH2 | 2.07 | 7.70 |
Setting /wp-admin/admin.php?page=idSousMenuTH1 | 2.07 | 5.96 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for eewee popup
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲194 | 13.98 ▼0.32 | 9.26 ▲7.58 | 45.98 ▲6.99 |
Dashboard /wp-admin | 2,241 ▲53 | 5.88 ▲1.03 | 97.89 ▼0.43 | 78.52 ▲38.68 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.02 ▼0.02 | 37.92 ▼3.78 | 34.84 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,694 ▲173 | 21.09 ▼2.19 | 648.40 ▼1.31 | 50.35 ▼3.85 |
Media Library /wp-admin/upload.php | 1,417 ▲35 | 4.18 ▼0.05 | 100.03 ▲4.32 | 48.42 ▲7.00 |
Eewee Popup /wp-admin/admin.php?page=idEeweePopup | 794 | 2.02 | 23.26 | 23.43 |
Manual /wp-admin/admin.php?page=idSousMenuTH2 | 919 | 2.01 | 23.48 | 38.00 |
Setting /wp-admin/admin.php?page=idSousMenuTH1 | 944 | 2.08 | 28.73 | 23.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/eewee-popup/controllers/EeweePopup.php+2
Use of undefined constant EeweePopup - assumed 'EeweePopup' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuTH1
- > Warning in wp-content/plugins/eewee-popup/controllers/EeweePopup.php+2
Use of undefined constant EeweePopup - assumed 'EeweePopup' (this will throw an Error in a future version of PHP)
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuTH1
- > Notice in wp-content/plugins/eewee-popup/controllers/EeweePopup.php+239
Undefined property: EeweePopup::$adminOptionsName
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuTH1
- > Warning in wp-content/plugins/eewee-popup/controllers/EeweePopup.php+56
Use of undefined constant menu - assumed 'menu' (this will throw an Error in a future version of PHP)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuTH1
- > Warning in wp-content/plugins/eewee-popup/controllers/EeweePopup.php+58
Use of undefined constant sousMenu1 - assumed 'sousMenu1' (this will throw an Error in a future version of PHP)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuTH1
- > Warning in wp-content/plugins/eewee-popup/controllers/EeweePopup.php+59
Use of undefined constant sousMenu2 - assumed 'sousMenu2' (this will throw an Error in a future version of PHP)
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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/eewee-popup/view/manual.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/eewee-popup/index.php:18
- > PHP Fatal error
Uncaught Error: Class 'form_add_popup' not found in wp-content/plugins/eewee-popup/view/popup.php:19
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/eewee-popup/index.php on line 18
- > PHP Warning
Use of undefined constant EeweePopup - assumed 'EeweePopup' (this will throw an Error in a future version of PHP) in wp-content/plugins/eewee-popup/controllers/EeweePopup.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuTH1
- > Network (severe)
wp-content/plugins/eewee_popup/css/style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Screenshots: Add an image for screenshot #1 (Image and Text and Border 3px and color blue.)
eewee-popup/index.php 92% from 13 tests
"eewee popup" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("eewee-popup.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin426 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 92 | 143 | 328 |
PO File | 1 | 58 | 142 | 63 |
CSS | 1 | 0 | 4 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 0.75KB | 0.96KB | 0.00% |
img/close_pop.png | 2.65KB | 1.87KB | ▼ 29.73% |