Benchmarks
Plugin footprint 65% 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: ▼1.16MB] [CPU: ▼41.07ms] Passed 4 tests
This is a short check of server-side resources used by PageLines Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.55 ▼0.98 |
Dashboard /wp-admin | 2.80 ▼0.55 | 14.38 ▼42.45 |
Posts /wp-admin/edit.php | 2.80 ▼0.56 | 14.93 ▼31.86 |
Add New Post /wp-admin/post-new.php | 2.80 ▼3.09 | 16.08 ▼70.24 |
Media Library /wp-admin/upload.php | 2.80 ▼0.44 | 14.75 ▼19.71 |
Upload Section /wp-admin/admin.php?page=section-uploader | 2.80 | 14.88 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PageLines Plus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 13.23 ▼1.16 | 1.75 ▲0.08 | 41.26 ▼2.31 |
Dashboard /wp-admin | 2,228 ▲43 | 5.93 ▲0.91 | 106.13 ▲4.10 | 49.16 ▲10.58 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 1.99 ▼0.00 | 39.56 ▲2.33 | 37.55 ▲2.59 |
Add New Post /wp-admin/post-new.php | 1,446 ▼74 | 17.47 ▼5.59 | 547.20 ▼125.00 | 29.61 ▼25.13 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.19 ▲0.02 | 103.62 ▼11.92 | 39.05 ▼7.99 |
Upload Section /wp-admin/admin.php?page=section-uploader | 809 | 2.02 | 24.49 | 27.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method pagelinesPlus::assets_public() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=section-uploader
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method pagelinesPlus::assets_public() should not be called statically
- > GET request to /wp-admin/admin.php?page=section-uploader
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method pagelinesPlus::add_menu() should not be called statically
- > GET request to /wp-admin/admin.php?page=section-uploader
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method pagelinesPlus::environment_check() should not be called statically
- > GET request to /wp-admin/admin.php?page=section-uploader
- > Warning in wp-content/plugins/pagelines-plus/pagelines-plus.php+234
Use of undefined constant EXTEND_NETWORK - assumed 'EXTEND_NETWORK' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=section-uploader
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method pagelinesPlus::upload_form() should not be called statically
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/pagelines-plus/pagelines-plus.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: pagelines, installer, uploader, section
pagelines-plus/pagelines-plus.php Passed 13 tests
This is the main PHP file of "PageLines Plus" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
45 characters long description:
Enhancements to Pagelines Wordpress framework
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin174 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 67 | 144 |
CSS | 1 | 0 | 0 | 30 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.59KB | 0.68KB | 0.00% |