Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.93ms] Passed 4 tests
Server-side resources used by Link to Popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.06 | 38.88 ▼4.40 |
Dashboard /wp-admin | 3.40 ▲0.05 | 64.34 ▲11.97 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 49.07 ▼0.86 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.07 | 88.66 ▼5.65 |
Media Library /wp-admin/upload.php | 3.32 ▲0.05 | 40.57 ▲3.18 |
Link to Popup /wp-admin/options-general.php?page=link-to-popup-setting | 3.29 | 29.35 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
link_to_popup_selectors |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Link to Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲124 | 13.48 ▼1.23 | 11.58 ▲9.79 | 40.29 ▼3.88 |
Dashboard /wp-admin | 2,197 ▲20 | 5.57 ▼0.04 | 87.06 ▼2.70 | 38.09 ▼2.73 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.02 ▲0.01 | 41.56 ▲1.55 | 36.53 ▲1.96 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.12 ▼0.11 | 629.62 ▼96.01 | 57.74 ▲1.96 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.17 ▼0.14 | 98.06 ▼5.04 | 41.56 ▼3.02 |
Link to Popup /wp-admin/options-general.php?page=link-to-popup-setting | 858 | 2.17 | 26.04 | 25.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/link-to-popup/link-to-popup.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
2 plugin tags: link, popup
link-to-popup/link-to-popup.php Passed 13 tests
The principal PHP file in "Link to Popup" v. 1.0 is loaded by WordPress automatically on each request
51 characters long description:
Transform your regular link to popup automatically.
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
Success! There were no dangerous files found in this plugin376 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 8 | 225 |
JavaScript | 3 | 6 | 3 | 106 |
CSS | 2 | 8 | 0 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin