Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.47ms] Passed 4 tests
Analyzing server-side resources used by Tied Pages
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.66 ▼2.39 |
Dashboard /wp-admin | 3.38 ▲0.07 | 54.55 ▲2.87 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.50 ▼2.78 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.29 ▼16.39 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.52 ▼4.31 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
tied-pages-version |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Tied Pages
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.00 | 2.07 ▲0.20 | 44.85 ▼5.45 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▲0.01 | 111.21 ▼3.15 | 43.68 ▼5.67 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▼0.01 | 39.76 ▲0.82 | 37.03 ▲2.18 |
Add New Post /wp-admin/post-new.php | 1,527 ▼7 | 17.69 ▼5.67 | 695.76 ▼20.51 | 41.22 ▼19.39 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▲0.01 | 105.62 ▲0.37 | 46.14 ▲2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'tied_pages\\Tiedpages_Base' not found in wp-content/plugins/tied-pages/includes/admin_page_edit_class.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function tied_pages\\register_activation_hook() in wp-content/plugins/tied-pages/tied-pages.php:34
- > PHP Fatal error
Uncaught Error: Class 'tied_pages\\Tiedpages_Base' not found in wp-content/plugins/tied-pages/includes/core_controller_class.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (This screenshot description corresponds to screenshot-1.png (stored in /assets). In this screenshot you can see the Tied-Pages menu through which you tie pages.)
tied-pages/tied-pages.php 85% from 13 tests
The primary PHP file in "Tied Pages" version 0.2.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin434 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 107 | 134 | 327 |
JavaScript | 2 | 19 | 4 | 104 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 68.42% |
▷ Protected methods | 4 | 21.05% |
▷ Private methods | 2 | 10.53% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/screenshot-1.png | 18.08KB | 0.00KB | ▼ 100.00% |