Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/integrator3/integrator.php+33
Methods with the same name as their class will not be constructors in a future version of PHP; Integrator has a deprecated constructor
Server metrics [RAM: ▼0.29MB] [CPU: ▼12.01ms] Passed 4 tests
Server-side resources used by Integrator3
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.17 | 4.69 ▼39.01 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.42 ▼4.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.21 ▼0.61 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.44 ▼4.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.74 ▲3.84 |
Add New /wp-admin/post-new.php?post_type=intlink | 3.04 | 25.14 |
Integrator /wp-admin/options-general.php?page=int_menu | 3.01 | 25.73 |
Integrator Links /wp-admin/edit.php?post_type=intlink | 3.04 | 26.25 |
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: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
wp_wpemp_fopen |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Integrator3
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.24 ▼1.32 | 5.77 ▲3.90 | 42.47 ▼0.80 |
Dashboard /wp-admin | 2,206 ▲21 | 5.92 ▲0.08 | 106.59 ▼8.06 | 41.81 ▼2.23 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▲0.04 | 38.12 ▲1.04 | 35.97 ▲1.86 |
Add New Post /wp-admin/post-new.php | 1,542 ▲6 | 18.13 ▼5.02 | 627.64 ▲31.05 | 53.62 ▼7.14 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.24 ▼0.04 | 97.50 ▲0.12 | 40.77 ▼4.83 |
Add New /wp-admin/post-new.php?post_type=intlink | 28 | 0.44 | 0.06 | 4.02 |
Integrator /wp-admin/options-general.php?page=int_menu | 28 | 0.44 | 0.06 | 4.00 |
Integrator Links /wp-admin/edit.php?post_type=intlink | 28 | 0.44 | 0.07 | 3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- wp_wpemp_fopen
- widget_recent-comments
- db_upgraded
Smoke tests 25% 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 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
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/integrator3/integrator/box.php
- > /wp-content/plugins/integrator3/integrator/logout.php
- > /wp-content/plugins/integrator3/logout.php
- 15× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: pageoptns in wp-content/plugins/integrator3/integrator/box.php on line 51
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/integrator3/integrator.php:1279
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/integrator3/integrator/options.php:17
- > PHP Fatal error
Uncaught Error: Class 'IntHelper' not found in wp-content/plugins/integrator3/integrator/login.php:53
- > PHP Notice
Undefined variable: status in wp-content/plugins/integrator3/integrator/options.php on line 17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/integrator3/integrator/box.php on line 72
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/integrator3/integrator/box.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/integrator3/integrator/intlinkerror.php:3
- > PHP Notice
Undefined variable: data in wp-content/plugins/integrator3/integrator/box.php on line 72
- > PHP Fatal error
Uncaught Error: Class 'IntHelper' not found in wp-content/plugins/integrator3/integrator/login.php:53
- > PHP Notice
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
- > GET request to /wp-admin/post-new.php?post_type=intlink
- > Network (severe)
wp-admin/post-new.php?post_type=intlink - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/options-general.php?page=int_menu
- > Network (severe)
wp-admin/options-general.php?page=int_menu - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=intlink
- > Network (severe)
wp-admin/edit.php?post_type=intlink - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3 in integrator3/assets to your readme.txt
integrator3/integrator.php 92% from 13 tests
The entry point to "Integrator3" version 3.1.10 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integrator3.php" instead of "integrator.php")
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
No dangerous file extensions were detected1,782 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 642 | 1,471 | 1,782 |
JavaScript | 1 | 3 | 3 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 46.67 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 1 | 0.88% |
▷ Public methods | 105 | 92.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 7.89% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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