Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.62MB] [CPU: ▲7.86ms] Passed 4 tests
Server-side resources used by Instapage Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.62 | 52.40 ▲11.34 |
Dashboard /wp-admin | 3.93 ▲0.62 | 60.45 ▲9.97 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 57.21 ▲7.41 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.62 | 99.73 ▲7.89 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 46.99 ▲6.15 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 53 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_instapage_options |
wp_instapage_pages |
wp_instapage_debug |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Instapage Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲126 | 14.44 ▲0.41 | 1.68 ▼0.43 | 46.54 ▲1.07 |
Dashboard /wp-admin | 2,306 ▲118 | 4.88 ▼1.04 | 109.53 ▲0.94 | 39.29 ▼0.71 |
Posts /wp-admin/edit.php | 2,186 ▲97 | 2.02 ▲0.03 | 39.78 ▼0.05 | 37.08 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 23.27 ▼0.19 | 645.76 ▼8.43 | 90.37 ▲12.17 |
Media Library /wp-admin/upload.php | 1,485 ▲97 | 4.22 ▲0.02 | 108.96 ▼3.08 | 45.08 ▲0.82 |
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
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method InstapageCmsPluginWPConnector::removePlugin() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/instapage/views/base.php
- > /wp-content/plugins/instapage/instapage.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/views/toolbar.php:12
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/views/edit.php:7
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/templates/log.php:20
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/templates/log_plugins.php:13
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginLPAjaxLoaderController' not found in wp-content/plugins/instapage/modules/lpAjaxLoader/view.php:40
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/views/messages.php:12
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/views/listing.php:8
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/templates/log_options.php:11
- > PHP Fatal error
Uncaught Error: Class 'InstapageCmsPluginConnector' not found in wp-content/plugins/instapage/views/settings.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% 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:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
instapage/instapage.php Passed 13 tests
"Instapage Plugin" version 3.5.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
102 characters long description:
The best way for WordPress to seamlessly publish landing pages as a natural extension of your website.
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
No dangerous file extensions were detected9,556 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 525 | 625 | 4,815 |
PHP | 23 | 716 | 1,332 | 3,107 |
JavaScript | 24 | 304 | 114 | 1,516 |
Markdown | 1 | 32 | 0 | 118 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 39.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 203 | |
▷ Static methods | 72 | 35.47% |
▷ Public methods | 175 | 86.21% |
▷ Protected methods | 1 | 0.49% |
▷ Private methods | 27 | 13.30% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin