Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.21ms] Passed 4 tests
Analyzing server-side resources used by Gigaom Copy Active Plugins
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.44 ▼1.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.05 ▼1.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.57 ▼5.39 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.11 ▼8.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.30 ▲2.67 |
Copy Active Plugins /wp-admin/plugins.php?page=copy-active-plugins | 3.23 | 31.33 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Gigaom Copy Active Plugins: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.23 ▼1.07 | 1.65 ▼0.17 | 41.54 ▼2.26 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.99 | 109.96 ▲3.49 | 41.57 ▲0.78 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▲0.01 | 40.82 ▲1.08 | 34.67 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 18.08 ▼5.19 | 674.14 ▲13.23 | 72.37 ▲10.68 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.29 ▲0.07 | 99.52 ▼7.77 | 44.25 ▼1.36 |
Copy Active Plugins /wp-admin/plugins.php?page=copy-active-plugins | 810 | 2.02 | 22.19 | 26.58 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/go-copy-active-plugins/components/class-go-copy-active-plugins.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_textarea() in wp-content/plugins/go-copy-active-plugins/components/templates/admin.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: admin, plugins
go-copy-active-plugins/go-copy-active-plugins.php Passed 13 tests
The primary PHP file in "Gigaom Copy Active Plugins" version 2.0 is used by WordPress to initiate all plugin functionality
31 characters long description:
Export/Import activated plugins
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
Everything looks great! No dangerous files found in this plugin188 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 38 | 34 | 188 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 33.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected