94% 3d-roll-over-links

Code Review | 3D Roll Over Links

WordPress plugin 3D Roll Over Links scored 94% from 54 tests.

About plugin

  • Plugin page: 3d-roll-over-links
  • Plugin version: 0.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.9.1
  • WordPress version: 5.9.2
  • First release: Apr 26, 2014
  • Latest release: Jul 5, 2014
  • Number of updates: 10
  • Update frequency: every 7.1 days
  • Top authors: Richzendy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,725 total downloads

Benchmarks

Plugin footprint Passed 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 gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼309.28ms] Passed 4 tests

An overview of server-side resources used by 3D Roll Over Links
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0165.77 ▲12.04
Dashboard /wp-admin3.42 ▲0.0233.63 ▼8.27
Posts /wp-admin/edit.php3.65 ▲0.0146.13 ▲4.23
Add New Post /wp-admin/post-new.php6.89 ▼0.08102.01 ▼1,233.15
Media Library /wp-admin/upload.php3.30 ▲0.0126.30 ▲0.06
3D Roll Over Links /wp-admin/options-general.php?page=roll_over_links_menu3.3023.94

Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

3D Roll Over Links: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,800 ▲5815.20 ▼0.507.04 ▲0.872.71 ▲0.55
Dashboard /wp-admin2,913 ▲526.11 ▼0.03123.82 ▼36.82183.73 ▲19.93
Posts /wp-admin/edit.php2,696 ▲53.24 ▲0.0165.22 ▼0.74141.39 ▼13.92
Add New Post /wp-admin/post-new.php1,728 ▲921.68 ▼0.06437.90 ▼2.87195.02 ▲4.34
Media Library /wp-admin/upload.php1,708 ▲105.56 ▲0.04148.75 ▼3.27236.40 ▲35.82
3D Roll Over Links /wp-admin/options-general.php?page=roll_over_links_menu1,2364.34113.78144.31

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

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 no errors were found, this is by no means an exhaustive test

SRP 50% 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
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/3d-roll-over-links/3d-roll-over-links.php:20
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/3d-roll-over-links/admin/3d-roll-over-links-admin.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed: You can take inspiration from this readme.txt

3d-roll-over-links/3d-roll-over-links.php Passed 13 tests

This is the main PHP file of "3D Roll Over Links" version 0.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
74 characters long description:
This plugin provides 3D roll over efect over links in to your post content

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
No dangerous file extensions were detected2,202 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript24831731,940
CSS1200132
PHP22917130

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.05
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin