Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.95MB] [CPU: ▼38.55ms] Passed 4 tests
Analyzing server-side resources used by WP PageSlide Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.21 ▼6.04 |
Dashboard /wp-admin | 3.00 ▼0.31 | 20.41 ▼35.36 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 22.45 ▼29.93 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 23.05 ▼75.39 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 20.71 ▼13.51 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP PageSlide Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.72 ▼0.65 | 5.38 ▲3.60 | 39.12 ▲1.92 |
Dashboard /wp-admin | 2,218 ▲27 | 6.04 ▲1.18 | 111.15 ▲5.17 | 43.51 ▲4.19 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.01 ▲0.02 | 37.09 ▼3.81 | 39.04 ▲3.29 |
Add New Post /wp-admin/post-new.php | 1,375 ▼167 | 20.71 ▲2.60 | 598.16 ▼5.11 | 36.25 ▼22.96 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.31 ▲0.15 | 96.22 ▼3.87 | 37.61 ▼5.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/pageslide/includes/classes/class-wpps-settings.php+50
Use of undefined constant POPUP_PLUGIN_CAPABILITY - assumed 'POPUP_PLUGIN_CAPABILITY' (this will throw an Error in a future version of PHP)
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pageslide/views/public/slide.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pageslide/config.php:3
- > PHP Notice
Undefined variable: options in wp-content/plugins/pageslide/views/public/slide.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/pageslide/views/admin/metabox-general.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pageslide/views/admin/plugin_actiavtion_notice.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pageslide/views/admin/settings-saved.php:2
- > PHP Notice
Undefined variable: content in wp-content/plugins/pageslide/views/public/slide.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_meta_boxes() in wp-content/plugins/pageslide/views/admin/settings-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pageslide/page-slide.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
pageslide/page-slide.php 92% from 13 tests
Analyzing the main PHP file in "WP PageSlide Plugin" version 1.0
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("pageslide.php" instead of "page-slide.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
Good job! No executable or dangerous file extensions detected437 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 164 | 15 | 303 |
CSS | 2 | 22 | 3 | 117 |
JavaScript | 1 | 5 | 10 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
No PNG files were detected